summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2011-04-19 11:28:26 -0700
committerJesse Wolfe <jes5199@gmail.com>2011-04-19 11:28:26 -0700
commit485501a55e99b51cf8c9affa07a9f873a6cbc951 (patch)
tree7444eb36fb99cf36538f40c4aa9f39dc71fbfd8c
parent05fb2257c1f047b652abea9682718943b18e325b (diff)
parent311e3ec762bc6863367d5d6ac6548d02a2d78e03 (diff)
downloadpuppet-485501a55e99b51cf8c9affa07a9f873a6cbc951.tar.gz
puppet-485501a55e99b51cf8c9affa07a9f873a6cbc951.tar.xz
puppet-485501a55e99b51cf8c9affa07a9f873a6cbc951.zip
Merge branch '2.7.x' into next
-rw-r--r--spec/shared_behaviours/documentation_on_faces.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/shared_behaviours/documentation_on_faces.rb b/spec/shared_behaviours/documentation_on_faces.rb
index effca678c..41b4015c9 100644
--- a/spec/shared_behaviours/documentation_on_faces.rb
+++ b/spec/shared_behaviours/documentation_on_faces.rb
@@ -4,13 +4,13 @@ shared_examples_for "documentation on faces" do
describe "#summary" do
it "should accept a summary" do
text = "this is my summary"
- expect { subject.summary = text }.not_to raise_error
+ expect { subject.summary = text }.to_not raise_error
subject.summary.should == text
end
it "should accept a long, long, long summary" do
text = "I never know when to stop with the word banana" + ("na" * 1000)
- expect { subject.summary = text }.not_to raise_error
+ expect { subject.summary = text }.to_not raise_error
subject.summary.should == text
end