<commit_before>require 'spec_helper'

describe package('acpid') do
  it { should be_installed }
end

describe package('epel-release') do
  it { should be_installed }
end


describe package('iputils') do
  it { should be_installed }
end

if property[:name].include? "CentOS 6"
	describe package('man') do
  	it { should be_installed }
	end
else
	describe package('man-db') do
  	it { should be_installed }
	end
end

describe package('nodejs') do
  it { should be_installed }
end

describe package('ntp') do
  it { should be_installed }
end

describe package('ntpdate') do<commit_msg>Test for json tool<commit_after>require 'spec_helper'

describe package('acpid') do
  it { should be_installed }
end

describe package('epel-release') do
  it { should be_installed }
end


describe package('iputils') do
  it { should be_installed }
end

if property[:name].include? "CentOS 6"
	describe package('man') do
  	it { should be_installed }
	end
else
	describe package('man-db') do
  	it { should be_installed }
	end
end

describe package('nodejs') do
  it { should be_installed }
end

describe command('npm list -g json') do
  its(:exit_status) { should eq 0 }
end

describe package('ntp') do
  it { should be_installed }
end

describe package('ntpdate') do
{'fraction_non_alphanumeric': 0.104, 'fraction_numerical': 0.0024, 'mean_word_length': 4.462882096069869, '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': '95703', 'n_tokens_mistral': 444, 'n_tokens_neox': 406, 'n_words': 133}