Ruby on Rails Tuesday, April 3, 2012

Aashish Kiran wrote in post #1054821:
> Dheeraj Kumar wrote in post #1054781:
>> login_user should be inside a before_each block.
>>
>>
>> Dheeraj Kumar
>
> The updated code is at.
>
> http://pastie.org/3719793
>
> The module is not loaded properly.

In http://pastie.org/3719793
If I remove before_filter :authenticate_user!, Test passes.
Can you clarify.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment