summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielsdeleo <dan@opscode.com>2013-06-10 07:58:09 -0700
committerdanielsdeleo <dan@opscode.com>2013-06-10 08:27:01 -0700
commitfca1ea41bd824b04e8c4fe40719f6d5999e50000 (patch)
tree7326e93b539c1c78cc9619cde586756931971f00
parentd1059c4f1af2808b18f4aba26ceef57a946c223b (diff)
downloadchef-fca1ea41bd824b04e8c4fe40719f6d5999e50000.tar.gz
use binread via ruby 1.8.7 compatibility wrapper
-rw-r--r--spec/functional/resource/template_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/template_spec.rb b/spec/functional/resource/template_spec.rb
index 7a533776ea..89056d048d 100644
--- a/spec/functional/resource/template_spec.rb
+++ b/spec/functional/resource/template_spec.rb
@@ -96,7 +96,7 @@ describe Chef::Resource::Template do
shared_examples "a template with helpers" do
it "generates expected content by calling helper methods" do
resource.run_action(:create)
- IO.binread(path).strip.should == expected_content
+ binread(path).strip.should == expected_content
end
end