<commit_before>require 'spec_helper'

describe 'xml::default' do
  let(:chef_run) { ChefSpec::Runner.new.converge(described_recipe) }

  it 'installs the XML package' do
    expect(chef_run).to install_package('libxml2-dev')
    expect(chef_run).to install_package('libxslt-dev')
  end
end<commit_msg>Add rspec test to verify zlib1g-dev package is installed<commit_after>require 'spec_helper'

describe 'xml::default' do
  let(:chef_run) { ChefSpec::Runner.new.converge(described_recipe) }

  it 'installs the XML package' do
    expect(chef_run).to install_package('libxml2-dev')
    expect(chef_run).to install_package('libxslt-dev')
    expect(chef_run).to install_package('zlib1g-dev')
  end
end
{'fraction_non_alphanumeric': 0.12160228898426323, 'fraction_numerical': 0.005722460658082976, 'mean_word_length': 5.862745098039215, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '3202544', 'n_tokens_mistral': 258, 'n_tokens_neox': 247, 'n_words': 47}