summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/spec_bacon.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/spec_bacon.rb b/test/spec_bacon.rb
index 6847b9d..b0cb510 100644
--- a/test/spec_bacon.rb
+++ b/test/spec_bacon.rb
@@ -247,6 +247,11 @@ describe "Bacon" do
     lambda { (1+1).should.not.be equal_string("2") }.should fail
     lambda { (1+2).should.not.be equal_string("2") }.should succeed
   end
+
+  it "should have should.flunk" do
+    lambda { should.flunk }.should fail
+    lambda { should.flunk "yikes" }.should fail
+  end
 end
 
 describe "before/after" do