Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Specifications with just a name correctly flunks with "not implemented"

  • Loading branch information...
commit ce524a6a2171700f79a85da263b23723be8af8fe 1 parent 1afb20f
@rogernorling rogernorling authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.