File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ appear at the top.
1515 @steved
1616 * ` SSHKit::Formatter::Abstract ` now accepts an optional Hash of options
1717 [ PR #308 ] ( https://github.com/capistrano/sshkit/pull/308 ) @mattbrictson
18+ * ` SSHKit::Backend::Printer#test ` now always returns true
19+ [ PR #312 ] ( https://github.com/capistrano/sshkit/pull/312 ) @mikz
1820
1921## 1.8.1
2022
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ def execute_command(cmd)
1010
1111 alias :upload! :execute
1212 alias :download! :execute
13+
14+ def test ( *)
15+ super
16+ true
17+ end
1318 end
1419 end
1520end
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def test_execute
2828 end
2929
3030 def test_test_method
31- printer . test '[ -d /some/file ]'
31+ assert printer . test ( '[ -d /some/file ]' ) , 'test should return true '
3232
3333 assert_output_lines (
3434 ' DEBUG [aaaaaa] Running [ -d /some/file ] on example.com' ,
You can’t perform that action at this time.
0 commit comments