<commit_before>require 'serverspec'

include Serverspec::Helper::Exec
include Serverspec::Helper::DetectOS

describe 'awscreds::default' do
  describe file('/root/.aws') do
    it { should be_directory }
  end
  describe file('/root/.aws/config') do
    its(:content) {
      should eq File.read(
        File.expand_path('../test-output.txt', __FILE__))
    }
  end
end
<commit_msg>Use the new serverspec format<commit_after>require 'serverspec'

set :backend, :exec

describe 'awscreds::default' do
  describe file('/root/.aws') do
    it { should be_directory }
  end
  describe file('/root/.aws/config') do
    its(:content) do
      should eq File.read(
        File.expand_path('../test-output.txt', __FILE__))
    end
  end
end

{'fraction_non_alphanumeric': 0.1346938775510204, 'fraction_numerical': 0.0, 'mean_word_length': 3.433734939759036, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3013325', 'n_tokens_mistral': 241, 'n_tokens_neox': 239, 'n_words': 59}