<commit_before>require 'spec_helper'

describe 'erlang', :type => :class do


  context 'on Debian' do
    let(:facts) { {:osfamily => 'Debian', :lsbdistcodename => 'squeeze'} }

    context 'with no parameters' do
      it { should compile.with_all_deps }
      it { should contain_package('erlang-nox').with_ensure('present') }
      it { should contain_apt__source('erlang').with(
        'key_source' => 'http://binaries.erlang-solutions.com/debian/erlang_solutions.asc',
        'key'        => 'D208507CA14F4FCA'
        ) }
    end<commit_msg>fix specs for change in upstream apt module<commit_after>require 'spec_helper'

describe 'erlang', :type => :class do


  context 'on Debian' do
    let(:facts) { {
      :osfamily => 'Debian',
      :lsbdistid => 'debian',
      :lsbdistcodename => 'squeeze'
    }}

    context 'with no parameters' do
      it { should compile.with_all_deps }
      it { should contain_package('erlang-nox').with_ensure('present') }
      it { should contain_apt__source('erlang').with(
        'key_source' => 'http://binaries.erlang-solutions.com/debian/erlang_solutions.asc',
        'key'        => 'D208507CA14F4FCA'
        ) }
    end
{'fraction_non_alphanumeric': 0.14103653355989804, 'fraction_numerical': 0.015293118096856415, 'mean_word_length': 3.0902777777777777, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6315717', 'n_tokens_mistral': 418, 'n_tokens_neox': 385, 'n_words': 78}