test/unit/backends/test_printer.rb in sshkit-1.4.0 vs test/unit/backends/test_printer.rb in sshkit-1.5.0

- old
+ new

@@ -57,10 +57,10 @@ assert_equal %w(/home/user/.ssh/id_rsa), backend.config.ssh_options[:keys] assert_equal false, backend.config.ssh_options[:forward_agent] assert_equal %w(publickey password), backend.config.ssh_options[:auth_methods] end - + def test_invoke_raises_no_method_error assert_raises NoMethodError do printer.invoke :echo end end