features/step_definitions/filesystem_steps.rb in berkshelf-5.6.5 vs features/step_definitions/filesystem_steps.rb in berkshelf-6.0.0

- old
+ new

@@ -42,11 +42,11 @@ Then /^the cookbook store should have the cookbooks:$/ do |cookbooks| cookbooks.raw.each do |name, version| expect(cookbook_store.storage_path).to have_structure { directory "#{name}-#{version}" do - file "metadata.rb" do + file "metadata.{rb,json}" do contains version end end } end @@ -54,10 +54,10 @@ Then /^the cookbook store should have the git cookbooks:$/ do |cookbooks| cookbooks.raw.each do |name, version, sha1| expect(cookbook_store.storage_path).to have_structure { directory "#{name}-#{sha1}" do - file "metadata.rb" do + file "metadata.{rb,json}" do contains version end end } end