On Oct 27, 2008, at 5:20 pm, Pat Maddox wrote:
When it comes to controllers specs, mocks provide the most value by isolating from the model and db - the specs run faster, and you don't have to worry about model validations. But if you minimize controller logic, you can write acceptance tests that give you confidence that your controllers work, and then controller specs become unnecessary overhead.
What's the consensus here then, controller specs yay or nay? 1 nay from Pat 1 act of fence sitting from me... Ashley -- http://www.patchspace.co.uk/ http://aviewfromafar.net/ _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
