What's the appropriate way to test namespaced routes with rspec-2 & rails 3?
I imagined that the following would work but it does not. describe Admin::UsersController do describe "routing" do it "recognizes and generates #index" do { :get => "/admin/users" }.should route_to(:controller => "admin_users", :action => "index") end end end In fact, { :get => "/admin/users" }.should be_routable fails as well. Yet rake routes disagrees. Any suggestions? -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users