summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2007-12-05 14:11:34 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2007-12-05 14:11:34 +0100
commit17bf327a39bea0b4d9473cc718c369558f7dc3ba (patch)
tree092fddb654a19305b67016cc4f07bbef47ee1fbb /test
parent17c8a9c07eb67c60174c762a15f5aebe8ee902c7 (diff)
downloadbacon-17bf327a39bea0b4d9473cc718c369558f7dc3ba.tar.gz
bacon-17bf327a39bea0b4d9473cc718c369558f7dc3ba.tar.xz
bacon-17bf327a39bea0b4d9473cc718c369558f7dc3ba.zip
Add flunking
darcs-hash:20071205131134-4fc50-f212f6e81f9439f8171234b379dbf4852f7ed9e2.gz
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