[rspec-users] namespaced controllers

Kyle Hargraves philodespotos at gmail.com
Fri Nov 23 17:27:33 EST 2007


On Nov 23, 2007 3:48 PM, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
>
> Out of curiosity, I've seen the following fail:
>
> module Admin
>    describe MyController
>    ...
>    end
> end
>
> But this works fine:
>
> describe Admin::MyController
>    ..
> end

How has the top one failed? I use it exclusively and haven't ever
noticed a problem.

Kyle


More information about the rspec-users mailing list