summaryrefslogtreecommitdiff
path: root/chef/spec/unit/client_spec.rb
diff options
context:
space:
mode:
authorDaniel DeLeo <dan@opscode.com>2010-05-05 17:25:29 -0700
committerDaniel DeLeo <dan@opscode.com>2010-05-05 17:28:06 -0700
commitb8c8717f9839c86643cf23fa8d6cf1b223704354 (patch)
treeceed00cdffd991809af497b36a6ff0b4a43491be /chef/spec/unit/client_spec.rb
parente4228d867496c89c106ccac2c34497b0f2ca9691 (diff)
downloadchef-b8c8717f9839c86643cf23fa8d6cf1b223704354.tar.gz
[CHEF-1166] rm unneeded save call during client run
Diffstat (limited to 'chef/spec/unit/client_spec.rb')
-rw-r--r--chef/spec/unit/client_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/spec/unit/client_spec.rb b/chef/spec/unit/client_spec.rb
index a5f3a0cb02..02bb88ba6d 100644
--- a/chef/spec/unit/client_spec.rb
+++ b/chef/spec/unit/client_spec.rb
@@ -76,7 +76,7 @@ describe Chef::Client, "run" do
end
it "should save the nodes state on the server (twice!)" do
- @client.should_receive(:save_node).exactly(3).times.and_return(true)
+ @client.should_receive(:save_node).exactly(2).times.and_return(true)
@client.run
end