mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add specs for value expectation
Fix bug in expectation result actual message.
This commit is contained in:
parent
bc66016c42
commit
9a77f8b7fd
2 changed files with 153 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue