summaryrefslogtreecommitdiff
path: root/chef/spec/unit/client_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@opscode.com>2012-06-08 15:00:35 -0700
committerLamont Granquist <lamont@opscode.com>2012-06-08 15:00:35 -0700
commitf9737a8033208544b2c7e3d805c86e059b668aa9 (patch)
tree187b37684b459f83a65df38f14599ae28dee7fdc /chef/spec/unit/client_spec.rb
parente3b13fcf198b37448f29e7559f9c951b681fab09 (diff)
downloadchef-f9737a8033208544b2c7e3d805c86e059b668aa9.tar.gz
Client#build_node no longer calls Node#find_or_create in whyrun branch
Diffstat (limited to 'chef/spec/unit/client_spec.rb')
-rw-r--r--chef/spec/unit/client_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/chef/spec/unit/client_spec.rb b/chef/spec/unit/client_spec.rb
index 621c4d6c67..62134750fd 100644
--- a/chef/spec/unit/client_spec.rb
+++ b/chef/spec/unit/client_spec.rb
@@ -195,7 +195,6 @@ describe Chef::Client do
original_runlist = @node.run_list.dup
- Chef::Node.should_receive(:find_or_create).and_return(@node)
mock_chef_rest = mock("Chef::REST")
mock_chef_rest.should_receive(:get_rest).with("roles/test_role").and_return(override_role)
Chef::REST.should_receive(:new).and_return(mock_chef_rest)