[rspec-users] namespaced controllers

Scott Taylor mailing_lists at railsnewbie.com
Sat Nov 24 00:53:46 EST 2007


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

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

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

Scott





More information about the rspec-users mailing list