Call Montréal, Canada 524-949-6869


Sunday, February 6, 2011

4 Things I Assert in Rails Controller Tests

  1. ActiveRecord Calls (using mocking)
  2. Assigns
  3. Flash
  4. Responses

And if the response content type is not going to be HTML I will test that as well.

Developing Ruby on Rails applications and custom Content Management Systems in Montréal. Contact Firsthand.