lib/dm/matchers/have_property.rb in dm-rspec-0.2.4 vs lib/dm/matchers/have_property.rb in dm-rspec-0.3.0
- old
+ new
@@ -13,10 +13,10 @@
def failure_message
"expected to have property #{@property}"
end
- def negative_failure_message
+ def failure_message_when_negated
"expected to not have property #{@property}"
end
def description
"have property #{@property}"