summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Singh <vivek.singh@msystechnologies.com>2020-07-21 18:10:15 +0530
committerVivek Singh <vivek.singh@msystechnologies.com>2020-07-21 18:10:15 +0530
commitad09169ad3cb8ee89bb9b47d94c3bbbcd66cf6a5 (patch)
treedc84b63e5a5622e5eec2f5f1bcba8252352b8aea
parenta1db9b1f003e16f9fda96da5ed80259a5d0b4967 (diff)
downloadchef-VSingh/bootstrap-retry-limit.tar.gz
fix functional specVSingh/bootstrap-retry-limit
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
-rw-r--r--spec/functional/knife/ssh_spec.rb2
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