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

- old
+ new

@@ -57,9 +57,15 @@ 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 end end