Fix specs to work with new Expectation type

This commit is contained in:
Michael Miller 2018-11-14 02:15:55 -07:00
parent 35b59854ec
commit f0204a32ea
9 changed files with 379 additions and 395 deletions

View file

@ -23,7 +23,7 @@ module Spectator::Expectations
# Text that indicates what the outcome was.
def actual_message
@matched ? message : negated_message
satisfied? ? message : negated_message
end
# Describes the condition that must be met for the matcher to be satisifed.