Fix verbage around failure message

This commit is contained in:
Michael Miller 2019-03-06 12:01:32 -07:00
parent 6e62ccdfc5
commit 5fd1547ced
2 changed files with 5 additions and 5 deletions

View file

@ -31,7 +31,7 @@ module Spectator::Expectations
# Text that indicates what the outcome was.
def actual_message
satisfied? ? @match_data.message : @match_data.negated_message
@match_data.matched? ? @match_data.message : @match_data.negated_message
end
end
end