[rspec-users] namespaced controllers

Scott Taylor mailing_lists at railsnewbie.com
Fri Nov 23 16:48:05 EST 2007


Out of curiosity, I've seen the following fail:

module Admin
   describe MyController
   ...
   end
end

But this works fine:

describe Admin::MyController
   ..
end

Why?

Scott





More information about the rspec-users mailing list