lib/dm/matchers/belong_to.rb in dm-rspec-0.2.4 vs lib/dm/matchers/belong_to.rb in dm-rspec-0.3.0
- old
+ new
@@ -17,10 +17,10 @@
def failure_message
"expected to belong to #{@parent}"
end
- def negative_failure_message
+ def failure_message_when_negated
"expected to not belong to #{@parent}"
end
def description
"belongs to #{@parent}"