This project is archived and is in readonly mode.

Changeset [47f6d8b880ae5532a9a79303edd51d43dcb3bf07] 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...

Committed by Andrew White

  • 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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>