<commit_before>Then /^package "([^\"]*)" should be "([^\"]*)"$/ do  |package, state|
  steps %Q{
    Then there should be a resource "Package[#{package}]"
    And the state should be "#{state}"
  }
end


Then /^package "([^\"]*)" should not be installed$/ do  |package|
  steps %Q{
    Then there should be no resource "Package[#{package}]"
  }
end<commit_msg>deal with tables of packages and remove useless step definition<commit_after>Then /^following packages should be dealt with:$/ do |packages|
  packages.hashes.each do |package|
    steps %Q{
      Then package "#{package['name']}" should be "#{package['state']}"
    }
  end
end

Then /^package "([^\"]*)" should be "([^\"]*)"$/ do |package, state|
  steps %Q{
    Then there should be a resource "Package[#{package}]"
    And the state should be "#{state}"
  }
end
{'fraction_non_alphanumeric': 0.17939393939393938, 'fraction_numerical': 0.0, 'mean_word_length': 3.7745664739884393, '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': '5092073', 'n_tokens_mistral': 269, 'n_tokens_neox': 264, 'n_words': 94}