« Return to Thread: namespaced controllers

Re: namespaced controllers

by Kyle Hargraves :: Rate this Message:

Reply to Author | View in Thread

On Nov 23, 2007 3:48 PM, Scott Taylor <mailing_lists@...> 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
_______________________________________________
rspec-users mailing list
rspec-users@...
http://rubyforge.org/mailman/listinfo/rspec-users

 « Return to Thread: namespaced controllers