summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2014-01-09 13:28:51 -0800
committerChristian Neukirchen <chneukirchen@gmail.com>2014-01-09 13:28:51 -0800
commitdc7f88f6ff21b43958c10f91f555cd8056b9f7e0 (patch)
tree3024e988b50924772b25ecdbd9651a3a5195a122
parent1afb20fb274ab07f7a7f722e460c42227f4ceaac (diff)
parentce524a6a2171700f79a85da263b23723be8af8fe (diff)
downloadbacon-dc7f88f6ff21b43958c10f91f555cd8056b9f7e0.tar.gz
bacon-dc7f88f6ff21b43958c10f91f555cd8056b9f7e0.tar.xz
bacon-dc7f88f6ff21b43958c10f91f555cd8056b9f7e0.zip
Merge pull request #20 from rogernorling/master
Specifications with just a name correctly flunks with "not implemented"
-rw-r--r--lib/bacon.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bacon.rb b/lib/bacon.rb
index 771c6d6..8d5e099 100644
--- a/lib/bacon.rb
+++ b/lib/bacon.rb
@@ -156,7 +156,7 @@ module Bacon
 
     def it(description, &block)
       return  unless description =~ RestrictName
-      block ||= lambda { should.flunk "not implemented" }
+      block ||= proc { should.flunk "not implemented" }
       Counter[:specifications] += 1
       run_requirement description, block
     end