summaryrefslogtreecommitdiff
path: root/spec/unit/provider/cookbook_file/content_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/cookbook_file/content_spec.rb')
-rw-r--r--spec/unit/provider/cookbook_file/content_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/cookbook_file/content_spec.rb b/spec/unit/provider/cookbook_file/content_spec.rb
index b771b76aae..d2f1d3aef2 100644
--- a/spec/unit/provider/cookbook_file/content_spec.rb
+++ b/spec/unit/provider/cookbook_file/content_spec.rb
@@ -28,7 +28,7 @@ describe Chef::Provider::CookbookFile::Content do
end
it "prefers the explicit cookbook name on the resource to the implicit one" do
- new_resource.stub!(:cookbook).and_return('nginx')
+ new_resource.stub(:cookbook).and_return('nginx')
content.send(:resource_cookbook).should == 'nginx'
end