Here is the solution for that issue: it "should map {:action => 'edit'} to /admin/users/1" do assert_generates("/admin/users/1", :controller => 'customer/users/1', :action => 'edit') end -- View this message in context: http://www.nabble.com/stricter-routing-specs-with-conditional-routes-tp22691023p24431748.html Sent from the rspec-users mailing list archive at Nabble.com.
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users