test/support/test_case.rb in knife-solo-0.1.0 vs test/support/test_case.rb in knife-solo-0.2.0.pre1
- old
+ new
@@ -6,9 +6,11 @@
def knife_command(cmd_class, *args)
cmd_class.load_deps
command = cmd_class.new(args)
command.ui.stubs(:msg)
command.ui.stubs(:err)
+ Chef::Config[:verbosity] = 0
+ command.configure_chef
command
end
# Assert that the specified command or block raises SystemExit
def assert_exits(command = nil)