features/step_definitions/cli_steps.rb in berkshelf-0.4.0.rc3 vs features/step_definitions/cli_steps.rb in berkshelf-0.4.0.rc4
- old
+ new
@@ -52,9 +52,13 @@
When /^I run the upload command$/ do
run_simple(unescape("berks upload"), true)
end
+When /^I run the upload command with flags:$/ do |flags|
+ run_simple(unescape("berks upload #{flags.raw.join(" ")}"), false)
+end
+
When /^I run the cookbook command to create "(.*?)"$/ do |name|
run_simple(unescape("berks cookbook #{name}"))
end
When /^I run the cookbook command to create "(.*?)" with options:$/ do |name, options|