1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
David Chelimsky dcce01132d 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
2012-05-20 06:21:32 -05:00
..
abstract Add a test case for layout nil. 2012-03-28 23:06:52 +04:00
activerecord Support cookie jar options for all cookie stores 2012-04-30 04:14:51 +04:00
assertions test response assertions 2012-01-06 11:20:26 -08:00
controller Raise Assertion instead of RoutingError for routing assertion failures. 2012-05-20 06:21:32 -05:00
dispatch Raise Assertion instead of RoutingError for routing assertion failures. 2012-05-20 06:21:32 -05:00
fixtures Merge pull request #6309 from steveklabnik/fix-2394 2012-05-17 10:19:27 -07:00
lib/controller Removing old Controller test 2012-02-12 21:05:30 -02:00
routing add some tests, yay! 2012-02-22 11:05:03 -08:00
template Clarify grouped_options_for_select method API, add changelog entry 2012-05-19 09:58:14 -03:00
tmp
abstract_unit.rb Remove useless load path modifications 2012-05-11 19:00:35 -03:00
active_record_unit.rb
ts_isolated.rb Don't use assert_block method. It will be deprecated. 2012-05-20 00:14:40 +09:00