This project is archived and is in readonly mode.
Changeset [47f6d8b880ae5532a9a79303edd51d43dcb3bf07] by Andrew White
Revision 47f6d8b880ae5532a9a79303edd51d43dcb3bf07,
committed by Andrew White
· August 20th, 2010 @ 06:51 PM
Support routing constraints in functional tests
Extend assert_recognizes and assert_generates to support
passing
full urls as the path argument. This allows testing of routing
constraints such as subdomain and host within functional tests.
[#5005 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/47f6d8b880ae5532a9a79303edd51d...
3 changed files
-
M
actionpack/lib/action_dispatch/routing/route_set.rb -
M
actionpack/lib/action_dispatch/testing/assertions/routing.rb -
M
actionpack/test/controller/routing_test.rb