[rspec-users] "RESTful" controller specs in rails
tom at experthuman.com
Mon Jan 4 18:02:51 EST 2010
On 4 Jan 2010, at 22:46, Pat Maddox wrote:
> I use resource_controller, and then don't need to write controller specs because it's all boiler-plate. If I add any custom behavior that needs more focused testing than cucumber provides, I can just write a couple specs to cover it.
Ditto: I use resources_controller (note different name!), which already has comprehensive tests, and only write specs for any non-boilerplate behaviour which I add.
More information about the rspec-users