Alexander Seidl wrote:
> Alexander Seidl wrote:
>> http://gist.github.com/230814
> 
> I should give some keywords here:
> I set an expectation in the test that a redirect_to should take place if 
> a certain condition is made: @login_user.categories.size <= 0.
> But the test fails and says: "expected redirect to {:action=>"index"}, 
> got no redirect"

argh,
i know whats missing: get :assign
*g*
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to