I'm running into a problem with RSpec/Rails and namespaced controllers.<br>I've got a controller called 'TenantsController' in app/controllers<br>and another called 'Admin::TenantsController' in app/controllers/admin
<br><br>In spec/controllers/, I have a tenants_controller_spec.rb. In spec/controllers/admin/ I have another tenants_controller_spec.rb.<br>Both specs run correctly when I run them individually from ruby (ie ruby spec/controllers/admin/tenants_controller.rb), but the namespaced tenants_controller.rb (inside /admin) fails when I run the tests from rake.
<br><br>I think there's a collision between the two controller name, or else RSpec/Rails isn't parsing the second controller's name correctly.<br>For reference, in /admin/tenants_controller_spec.rb, I'm setting the controller_name as:
<br><br>controller_name 'admin/tenants'<br><br>Any thoughts on what might be going wrong?<br>Thanks,<br>Bruno Bornsztein<br><a href="http://www.missingmethod.com">www.missingmethod.com</a><br>