Skip to content
Browse files

Merge pull request #20 from rogernorling/master

Specifications with just a name correctly flunks with "not implemented"
  • Loading branch information...
2 parents 1afb20f + ce524a6 commit dc7f88f6ff21b43958c10f91f555cd8056b9f7e0 @chneukirchen committed Jan 9, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bacon.rb
View
2 lib/bacon.rb
@@ -156,7 +156,7 @@ def behaves_like(*names)
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

0 comments on commit dc7f88f

Please sign in to comment.
Something went wrong with that request. Please try again.