Add specs for value expectation

Fix bug in expectation result actual message.
This commit is contained in:
Michael Miller 2018-10-18 17:54:43 -06:00
parent bc66016c42
commit 9a77f8b7fd
2 changed files with 153 additions and 1 deletions

View file

@ -43,7 +43,7 @@ module Spectator::Expectations
# Description of what actually happened when the expectation was evaluated.
def actual_message
message(@successful)
message(!@successful)
end
# Retrieves the message or negated message from an expectation.