[rspec-users] controller code doesn't seem to be called within rspec test
lists at ruby-forum.com
Wed Oct 21 06:42:33 EDT 2009
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"
i forgot "get :index" in test. but anyways, no impact. same result.
Posted via http://www.ruby-forum.com/.
More information about the rspec-users