Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [7c9bf45b0dd7ad7a1d99a14566bfaeadc77b4665] by Andrew White

Revision 7c9bf45b0dd7ad7a1d99a14566bfaeadc77b4665, 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/7c9bf45b0dd7ad7a1d99a14566bfae...

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