summaryrefslogtreecommitdiff
path: root/spec/unit/provider/template_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/template_spec.rb')
-rw-r--r--spec/unit/provider/template_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/template_spec.rb b/spec/unit/provider/template_spec.rb
index 78d924aa41..514bdc12ff 100644
--- a/spec/unit/provider/template_spec.rb
+++ b/spec/unit/provider/template_spec.rb
@@ -50,7 +50,7 @@ describe Chef::Provider::Template do
end
let(:content) do
- content = mock('Chef::Provider::File::Content::Template', :template_location => "/foo/bar/baz")
+ content = double('Chef::Provider::File::Content::Template', :template_location => "/foo/bar/baz")
File.stub(:exists?).with("/foo/bar/baz").and_return(true)
content
end