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 [c3aaba0180f0710094d974b4ba4659bce81446df] by Michael Koziarski

Revision c3aaba0180f0710094d974b4ba4659bce81446df, committed by Repository · July 4th, 2008 @ 08:41 AM

Simplify the implementation of assert_redirected_to to normalise the urls before comparing. Also allows for a simpler implementation of redirect_to without most of the recursion.

Also allows for assert_redirected_to @some_record

http://github.com/rails/rails/co...

6 changed files

  • M actionpack/CHANGELOG
  • M actionpack/lib/action_controller/assertions/response_assertions.rb
  • M actionpack/lib/action_controller/base.rb
  • M actionpack/test/controller/action_pack_assertions_test.rb
  • M actionpack/test/controller/components_test.rb
  • M actionpack/test/controller/redirect_test.rb