spec/lib/ssh_spec.rb in vx-lib-shell-0.1.1 vs spec/lib/ssh_spec.rb in vx-lib-shell-0.1.2

- old
+ new

@@ -19,12 +19,12 @@ verbose: 2 } ) end - it "run command successfuly with pty" do - code = run_ssh 'env' - expect(collected).to match(/SSH_TTY=/) + it "run command successfuly" do + code = run_ssh 'echo $HOME' + expect(collected).to match(/\/home\//) expect(code).to eq 0 end it "run command with error" do code = run_ssh 'false'