diff options
author | Roger Norling <roger.norling.se@gmail.com> | 2014-01-09 22:07:53 +0100 |
---|---|---|
committer | Roger Norling <roger.norling.se@gmail.com> | 2014-01-09 22:07:53 +0100 |
commit | ce524a6a2171700f79a85da263b23723be8af8fe (patch) | |
tree | 3024e988b50924772b25ecdbd9651a3a5195a122 | |
parent | 1afb20fb274ab07f7a7f722e460c42227f4ceaac (diff) | |
download | bacon-ce524a6a2171700f79a85da263b23723be8af8fe.tar.gz bacon-ce524a6a2171700f79a85da263b23723be8af8fe.tar.xz bacon-ce524a6a2171700f79a85da263b23723be8af8fe.zip |
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 |