summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-01-29 14:08:18 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2014-01-29 14:08:18 -0800
commitb5c9c6afdfd83fe3f1bf4c991daffeff94b49750 (patch)
treee0453a2b0eaa2e58e11828ccd0d8880a87f17faa
parent652389fbd848861997b9b0c67fae7b2f5ecef064 (diff)
downloadchef-b5c9c6afdfd83fe3f1bf4c991daffeff94b49750.tar.gz
fix obvious derp
the fact that rspec 2.14 accepted this and changed the should_not_receive into a should_receive is a bit of a bug in rspec.
-rw-r--r--spec/unit/provider/mount_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/mount_spec.rb b/spec/unit/provider/mount_spec.rb
index a44f9705ee..451ab30a0e 100644
--- a/spec/unit/provider/mount_spec.rb
+++ b/spec/unit/provider/mount_spec.rb
@@ -125,7 +125,7 @@ describe Chef::Provider::Mount do
it "should not enable the mount if it is enabled and mount options have not changed" do
@current_resource.stub!(:enabled).and_return(true)
@provider.should_receive(:mount_options_unchanged?).and_return(true)
- @provider.should_not_receive(:enable_fs).and_return(true)
+ @provider.should_not_receive(:enable_fs)
@provider.run_action(:enable)
@new_resource.should_not be_updated_by_last_action
end