diff options
-rw-r--r-- | spec/functional/knife/ssh_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/knife/ssh_spec.rb b/spec/functional/knife/ssh_spec.rb index 93b77b0741..803fbff0a3 100644 --- a/spec/functional/knife/ssh_spec.rb +++ b/spec/functional/knife/ssh_spec.rb @@ -335,7 +335,7 @@ describe Chef::Knife::Ssh do end it "should prompt the user for a password" do - expect(@knife.ui).to receive(:ask).with("Enter the password for user@ec2.public_hostname: ").and_return("password") + expect(@knife.ui).to receive(:ask).with("Enter the password for user@ec2.public_hostname: ", echo: false).and_return("password") @knife.run end end |