diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-03-02 12:00:44 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-03-02 12:00:44 -0800 |
commit | 14474f59eac093756594d03e88189f6d60132191 (patch) | |
tree | 97f452aa7c0b1ee4b5d0edf0f3c28d2c5088c88d | |
parent | 5882e0b5c9a70f1c8cc1cbd8a8ae31d7647e6b30 (diff) | |
download | chef-14474f59eac093756594d03e88189f6d60132191.tar.gz |
Fix expect receive
-rw-r--r-- | spec/unit/knife/bootstrap_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/knife/bootstrap_spec.rb b/spec/unit/knife/bootstrap_spec.rb index 0803cae8f4..848af11db5 100644 --- a/spec/unit/knife/bootstrap_spec.rb +++ b/spec/unit/knife/bootstrap_spec.rb @@ -603,7 +603,7 @@ describe Chef::Knife::Bootstrap do it "creates the client and does not run client_builder or the chef_vault_handler" do expect(knife_ssh).to receive(:run) expect(knife.client_builder).not_to receive(:run) - expect(knife.chef_vault_handler).not_to receive(:run).with(node_name: knife.config[:chef_node_name]) + expect(knife.chef_vault_handler).not_to receive(:run) knife.run end end |