[rspec-users] "RESTful" controller specs in rails
mailinglists at patmaddox.com
Mon Jan 4 17:46:20 EST 2010
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.
On Jan 4, 2010, at 11:16 AM, Nicolás Sanguinetti wrote:
> So, what's the awesome sauce everyone is using for this? In the past
> I've used shared behaviors, and rspec_on_rails_on_crack to solve all
> the repetition in the controller specs, but I've been away from rspec
> for a while, and the controller specs in the rails project I'm working
> on are a mess. So… what's the best/recommended approach these days?
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users