summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorVivek Singh <vivek.singh@msystechnologies.com>2020-07-09 11:33:20 +0530
committerVivek Singh <vivek.singh@msystechnologies.com>2020-07-21 16:47:30 +0530
commit63e33fad2f851ccbe679fd7012d0787924ac4397 (patch)
treeaf1a24165e83f30f2807ffca2118c729ab353610 /spec
parent327bb9ec7db817ead4827a9af27a4cae00e9ddc3 (diff)
downloadchef-63e33fad2f851ccbe679fd7012d0787924ac4397.tar.gz
Remove unused code
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
Diffstat (limited to 'spec')
-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")