<commit_before>require 'spec_helper'

describe 'transip', :type => 'class' do
  let :params do
    {
      :username => 'testuser',
      :ip       => '127.0.0.1',
      :key_file => '/etc/credentials/key_file',
    }
  end

  it { is_expected.to contain_file('/etc/transip/credentials') }
end<commit_msg>add osfamily fact to fix unit test<commit_after>require 'spec_helper'

describe 'transip', :type => 'class' do
  let :params do
    {
      :username => 'testuser',
      :ip       => '127.0.0.1',
      :key_file => '/etc/credentials/key_file',
    }
  end
  let :facts do
    {
      :osfamily => 'Debian'
    }
  end

  it { is_expected.to contain_file('/etc/transip/credentials') }
end
{'fraction_non_alphanumeric': 0.15584415584415584, 'fraction_numerical': 0.017316017316017316, 'mean_word_length': 2.6526315789473682, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '7193601', 'n_tokens_mistral': 259, 'n_tokens_neox': 249, 'n_words': 53}