mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix specs to work with new Expectation type
This commit is contained in:
parent
35b59854ec
commit
f0204a32ea
9 changed files with 379 additions and 395 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue