mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Use shorter string when stub is treated as a message
This commit is contained in:
parent
e2cdc9e08e
commit
318e4eba89
3 changed files with 26 additions and 14 deletions
|
@ -296,7 +296,7 @@ Spectator.describe Spectator::Matchers::ReceiveMatcher do
|
|||
end
|
||||
|
||||
it "has the expected call listed" do
|
||||
is_expected.to contain({:expected, "Not #{stub}"})
|
||||
is_expected.to contain({:expected, "Not #{stub.message}"})
|
||||
end
|
||||
|
||||
it "has the list of called methods" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue