From 14474f59eac093756594d03e88189f6d60132191 Mon Sep 17 00:00:00 2001 From: Jay Mundrawala Date: Mon, 2 Mar 2015 12:00:44 -0800 Subject: Fix expect receive --- spec/unit/knife/bootstrap_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1