Merge branch 'stufro-fix-readme-mocking-example'

This commit is contained in:
Michael Miller 2023-05-21 09:58:19 -06:00
commit d72895fe10
No known key found for this signature in database
GPG key ID: 32B47AE8F388A1FF

View file

@ -287,7 +287,7 @@ Spectator.describe Driver do
# Call the mock method.
subject.do_something(interface, dbl)
# Verify everything went okay.
expect(interface).to have_received(:invoke).with(thing)
expect(interface).to have_received(:invoke).with(dbl)
end
end
```