« Return to Thread: namespaced controllers

Re: namespaced controllers

by Scott Taylor-6 :: Rate this Message:

Reply to Author | View in Thread


On Nov 23, 2007, at 5:27 PM, Kyle Hargraves wrote:

> 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.
>

I got an "unknown action foo" error message (wasn't getting it before  
today - running on trunk).

Scott



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

 « Return to Thread: namespaced controllers