summaryrefslogtreecommitdiff
path: root/spec/unit/knife/bootstrap_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/knife/bootstrap_spec.rb')
-rw-r--r--spec/unit/knife/bootstrap_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/unit/knife/bootstrap_spec.rb b/spec/unit/knife/bootstrap_spec.rb
index dc3241436d..e0694f047b 100644
--- a/spec/unit/knife/bootstrap_spec.rb
+++ b/spec/unit/knife/bootstrap_spec.rb
@@ -1861,7 +1861,6 @@ describe Chef::Knife::Bootstrap do
let(:connection_protocol) { "ssh" }
it "warns, prompts for password, then reconnects with a password-enabled configuration using the new password" do
- question_mock = double("question")
expect(knife).to receive(:do_connect).and_raise(expected_error_password_prompt)
expect(knife.ui).to receive(:warn).with(/Failed to auth.*/)
expect(knife.ui).to receive(:ask).and_return("newpassword")