lib/dm/matchers/validation_matcher.rb in dm-rspec-0.2.4 vs lib/dm/matchers/validation_matcher.rb in dm-rspec-0.3.0

- old
+ new

@@ -30,10 +30,10 @@ msg = "expected to validate #{@validation_subject} of #{@property}" msg = %Q'#{msg} with message "#{@msg}"' if @msg msg end - def negative_failure_message + def failure_message_when_negated msg = "expected to not validate #{@validation_subject} of #{@property}" msg = %Q'#{msg} with message "#{@msg}"' if @msg msg end