rails/actionpack/test
eileencodes 935120fdfd
Fix did you mean tests for ruby-trunk (3.2)
In
f075be3dcb
did_you_mean and error_highlight now use `detailed_message` over
`message` to display errors.

For cases where we are testing `message`, in 3.2 and above we need to
test against `detailed_message` instead.

As far as I can tell in a Rails console when these errors are raised the
`detailed_message` is used so we shouldn't need to make other changes to
Rails. The only case where this isn't true is in the Railties changes -
we are explicitly formatting the did you mean message so we need to be
sure to call `detailed_message` here.

This fixes most of the failing tests for ruby-trunk.
2022-06-10 13:06:42 -04:00
..
abstract Raise error when callback's only/unless symbols aren't methods 2021-12-14 15:22:08 -05:00
assertions Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
controller Fix did you mean tests for ruby-trunk (3.2) 2022-06-10 13:06:42 -04:00
dispatch Fix did you mean tests for ruby-trunk (3.2) 2022-06-10 13:06:42 -04:00
fixtures Add support to locales with lowdash in Resolver::PathParser 2022-01-14 15:11:58 -03:00
journey Allow multiline to be passed in routes when using wildcards. 2021-10-13 19:14:20 -04:00
lib Include layout when rendering objects from controllers 2020-10-14 11:49:45 -06:00
routing Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
support Introduce Journey::Ast to avoid extra ast walks 2021-07-29 16:23:11 -04:00
abstract_unit.rb Let the Action Pack autoload with Zeitwerk 2021-08-21 20:20:23 +02:00