[rspec-users] (rspec2/rails3) spec'ing the details of a controller that is not purely *skinny* by design.
matt at mattwynne.net
Mon Jul 12 12:02:20 EDT 2010
On 12 Jul 2010, at 06:43, Kevin wrote:
> Awesome discussion you've started here, very fun read for a new rspec
> Just wanted to throw in that I've found setting a
> "cattr_accessor :current_user" in the user model to hold the current
> user to be very handy in terms of simplifying controllers.
Probably not the best idea if you're planning on having the app run on more than one thread or process though :)
More information about the rspec-users