aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/routing_assertions_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Raise Assertion instead of RoutingError for routing assertion failures.David Chelimsky2012-05-201-6/+6
| | | | | | | | | | | | | Before this change, assert_recognizes, assert_generates, and assert_routing raised ActionController::RoutingError when they failed to recognize the route. This commit changes them to raise Assertion instead. This aligns with convention for logical failures, and supports reporting tools that care about the difference between logical failures and errors e.g. the summary at the end of a test run. - Fixes #5899
* Copy literal route constraints to defaults - fixes #3571 and #6224.Andrew White2012-05-111-3/+3
|
* Fix the assert_recognizes test method so that it works when there areMatt Fawcett2012-02-241-0/+12
| | | | constraints on the querystring. Issue #2781
* Fix assert_recognizes with block constraints [#5805 state:resolved]Andrew White2011-02-131-0/+103