mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix mocking example in README.md
This commit is contained in:
parent
9cbb5d2cf7
commit
04f151fddf
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ Spectator.describe Driver do
|
||||||
# Call the mock method.
|
# Call the mock method.
|
||||||
subject.do_something(interface, dbl)
|
subject.do_something(interface, dbl)
|
||||||
# Verify everything went okay.
|
# Verify everything went okay.
|
||||||
expect(interface).to have_received(:invoke).with(thing)
|
expect(interface).to have_received(:invoke).with(dbl)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue