Alexander Seidl wrote:
> i call current_user in the index-method, but the test fails and says:
> "#<User::CategoriesController:0xb7439484> expected :current_user with
> (any args) once, but received it 0 times"
> 
> Why?

i forgot "get :index" in test. but anyways, no impact. same result.

http://pastie.org/663143
-- 
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