[rspec-users] getting ActionController::RoutingError when I test namespaced controllers
lille.penguini at gmail.com
Wed Feb 1 20:26:33 EST 2012
Using 2.6, I have functional tests arranged in my spec/controllers
directory according to their namespace in my Rails 3 app/controllers
describe Api::SomeController, ...
Well, when I run rspec at the directory level, e.g., rspec spec/
controllers/api the test behavior is normal. When I try to run all
tests from the spec/controllers root, however, I get tons of failures
due to ActionController::RoutingError.
What is the fix?
More information about the rspec-users