thoughtbot / testing-rails

Source code for the Testing Rails book
Other
279 stars 49 forks source link

Add section on testing side-effects #39

Closed JoelQ closed 9 years ago

JoelQ commented 9 years ago

This section covers both of RSpec's approaches to testing side-effects: mocking and spying.

jsteiner commented 9 years ago

:+1:

JoelQ commented 9 years ago

This PR was merged as 7db9ef0868aa0dce380762e527c11305c57bbb49, db8110e40a4cc40a3c10060c33db0645e4455d48, and b6755ba1b764d1d14a2ac2405d6e0d3745aa2f6b. I forgot to force-push this branch first so Github marks it as closed rather than merged.