mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Merge branch 'stufro-fix-readme-mocking-example'
This commit is contained in:
commit
d72895fe10
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