Rspec namespaced route specs failing even though route exists
I'm using rspec-rails (2.8.1) and rails 3.1.3 . I'm trying to test routes for my Admin::ZonesController. I have verified the route exists in both the browser and by running rake routes . I am not using ActiveRecord (if that matters). When I run the routing spec, it tells me: ActionController::RoutingError: No route matches "/admin/zones/new" Here is the test (spec/routing/admin/zones_routing_spec.rb): require 'spec_helper' describe "routing to zones" do it "routes /admin/zones/new to admin/zones#new" do { :get => "/admin/zones/new" }.should route_to( :controller => "admin/zones", :action =>