On Wed, Oct 21, 2009 at 6:56 AM, Alexander Seidl <li...@ruby-forum.com> wrote:
> I started a new test: Have a look at my new code:
> http://pastie.org/663455
>
> 1) The categories_controller is NOT called from the test!
>
> 2) I created another example with a message_controller and associated
> tests. There, the controller IS called!
>
> You can see that, because the puts statement produces output in 2), but
> not in 1).
>
> Could the reason for this be the fact, that User::CategoriesController
> inherits from UserController??

Paste UserController as well.  If it has a before_filter in there that
prevents index from executing, that could be the source of the
problem.

Pat
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to