diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2014-01-09 13:28:51 -0800 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2014-01-09 13:28:51 -0800 |
commit | dc7f88f6ff21b43958c10f91f555cd8056b9f7e0 (patch) | |
tree | 3024e988b50924772b25ecdbd9651a3a5195a122 | |
parent | 1afb20fb274ab07f7a7f722e460c42227f4ceaac (diff) | |
parent | ce524a6a2171700f79a85da263b23723be8af8fe (diff) | |
download | bacon-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.rb | 2 |
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 |