[rspec-users] how i can spec session variable in controller spec?

Matt Wynne matt at mattwynne.net
Wed Jul 22 07:50:16 EDT 2009


On 22 Jul 2009, at 07:36, Dhwani Panchal wrote:

> Hello There,
>
> Can i spec session variable in my controller spec?

Yes:
http://rspec.info/rails/writing/controllers.html

cheers,
Matt Wynne

http://mattwynne.net
+447974 430184



More information about the rspec-users mailing list