lib/cucumber/chef/steps/chef_steps.rb in cucumber-chef-2.0.2.pre vs lib/cucumber/chef/steps/chef_steps.rb in cucumber-chef-2.0.3.pre
- old
+ new
@@ -28,5 +28,11 @@
And /^the following roles have been updated:$/ do |table|
table.hashes.each do |entry|
load_role(entry['role'], entry['role_path'])
end
end
+
+And /^the following cookbooks have been uploaded:$/ do |table|
+ table.hashes.each do |entry|
+ load_cookbook(entry['cookbook'], entry['cookbook_path'])
+ end
+end