summaryrefslogtreecommitdiff
path: root/spec/unit/provider/template/content_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/template/content_spec.rb')
-rw-r--r--spec/unit/provider/template/content_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/template/content_spec.rb b/spec/unit/provider/template/content_spec.rb
index ef7419d9b8..3d6e822c00 100644
--- a/spec/unit/provider/template/content_spec.rb
+++ b/spec/unit/provider/template/content_spec.rb
@@ -97,7 +97,7 @@ describe Chef::Provider::Template::Content do
end
it "creates the template with the rendered content" do
- IO.read(content.tempfile.path).should == <<EOF
+ expect(IO.read(content.tempfile.path)).to eql <<EOF
openldap
default
#{CHEF_SPEC_DATA}/cookbooks/openldap/recipes/default.rb:2:in `from_file'