features/step_definitions/cli_steps.rb in berkshelf-0.1.5 vs features/step_definitions/cli_steps.rb in berkshelf-0.2.0
- old
+ new
@@ -37,10 +37,14 @@
When /^I run the init command with no value for the target$/ do
run_simple(unescape("knife berks init"), false)
end
When /^I run the install command$/ do
- run_simple(unescape("knife berks install"), false)
+ run_simple(unescape("knife berks install"), true)
+end
+
+When /^I run the install command with flags:$/ do |flags|
+ run_simple(unescape("knife berks install #{flags.raw.join(" ")}"), true)
end
When /^I run the update command$/ do
run_simple(unescape("knife berks update"), false)
end