Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

How I Test

#275 How I Test

Jul 18, 2011 | 15 minutes | Refactoring, Testing
Here I show how I would add tests to the password reset feature created in the previous episode. I use RSpec, Capybara, Factory Girl, and Guard to make request, model, and mailer specs.
  • Download:
  • source codeProject Files in Zip (92.2 KB)
  • mp4Full Size H.264 Video (26.4 MB)
  • m4vSmaller H.264 Video (16.1 MB)
  • webmFull Size VP8 Video (18.1 MB)
  • ogvFull Size Theora Video (37.8 MB)