lib/spec/matchers/simple_matcher.rb in rspec-1.2.0 vs lib/spec/matchers/simple_matcher.rb in rspec-1.2.1
- old
+ new
@@ -4,9 +4,10 @@
attr_writer :failure_message, :negative_failure_message, :description
def initialize(description, &match_block)
@description = description
@match_block = match_block
+ @failure_message = @negative_failure_message = nil
end
def matches?(given)
@given = given
case @match_block.arity
\ No newline at end of file