Its definitly that line that causes trouble:
class User::CategoriesController < UserController
^^^^^^^^^^^^^^^^^
...
end
If i change it to:
class User::CategoriesController < ActionController::Base
^^^^^^^^^^^^^^^^^^^^^^^
...
end
the tests pass as expected.
But why may i not inheret my CategoriesController from UserController?
Do i have to change my code to make it testable?
Cheers,
Alexander
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users