features/step_definitions/cli_steps.rb in berkshelf-0.6.0.beta4 vs features/step_definitions/cli_steps.rb in berkshelf-1.0.0.rc1
- old
+ new
@@ -64,11 +64,11 @@
When /^I run the cookbook command to create "(.*?)" with options:$/ do |name, options|
run_simple(unescape("berks cookbook #{name} #{options.raw.join(" ")}"))
end
-When /^I run the config command$/ do
- run_simple unescape("berks config")
+When /^I run the "(.*?)" command interactively$/ do |command|
+ run_interactive("berks #{command}")
end
Then /^the CLI should exit with the status code for error "(.*?)"$/ do |error_constant|
exit_status = Berkshelf.const_get(error_constant).status_code
assert_exit_status(exit_status)