test/deprecated_command_test.rb in knife-solo-0.4.3 vs test/deprecated_command_test.rb in knife-solo-0.5.0

- old
+ new

@@ -30,16 +30,16 @@ assert_exits { command("--help") } end def test_warns_about_deprecation cmd = command - cmd.ui.expects(:err).with(regexp_matches(/deprecated!/)) + cmd.ui.expects(:warn).with(regexp_matches(/deprecated!/)) cmd.run end def test_runs_new_command cmd = command - cmd.ui.stubs(:err) + cmd.ui.stubs(:warn) cmd.expects(:new_run) cmd.run end def test_includes_options_from_new_command