aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDavid Chelimsky <dchelimsky@gmail.com>2012-05-19 16:28:14 -0500
committerDavid Chelimsky <dchelimsky@gmail.com>2012-05-20 06:21:32 -0500
commitdcce01132de9734c9f7a6973bfff1b16b07ef84a (patch)
treee163b5ce4853a06fb51a7bbf65fe858e6a06101f /railties
parent3655d66edacde2db4d04e939260a3585452c16ad (diff)
downloadrails-dcce01132de9734c9f7a6973bfff1b16b07ef84a.tar.gz
rails-dcce01132de9734c9f7a6973bfff1b16b07ef84a.tar.bz2
rails-dcce01132de9734c9f7a6973bfff1b16b07ef84a.zip
Raise Assertion instead of RoutingError for routing assertion failures.
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
Diffstat (limited to 'railties')
0 files changed, 0 insertions, 0 deletions