[rspec-users] Acts as Authenticated
court3nay at gmail.com
Sat Jun 30 23:36:22 EDT 2007
also see the caboose sample app for a complete integration of acts as
auth with rspec.
Sent from my iPhone
On Jun 30, 2007, at 8:09 AM, "aslak hellesoy"
<aslak.hellesoy at gmail.com> wrote:
> On 6/26/07, Anonymous <nobody at mixmin.net> wrote:
>> I am using Acts as Authenticated and I need to call current_user in
>> my views.
>> How do I mock current_user and other methods of Acts as
>> Authenticated in my view specs?
> Hi Anon
> See "Mocking and stubbing helpers"
>> rspec-users mailing list
>> rspec-users at rubyforge.org
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users