diff options
author | Andrew White <andrew.white@unboxed.co> | 2018-03-25 11:02:25 +0100 |
---|---|---|
committer | Andrew White <andrew.white@unboxed.co> | 2018-03-25 11:07:26 +0100 |
commit | 9232ba71190eb4e29964d60bd7ba6d7bb6118a43 (patch) | |
tree | aca89dbcd3dda24d650a5e6b17044a7ba9014fc5 /activemodel/test/validators | |
parent | 8881d84369f5eaf78009a18859e9ef751aedf53c (diff) | |
download | rails-9232ba71190eb4e29964d60bd7ba6d7bb6118a43.tar.gz rails-9232ba71190eb4e29964d60bd7ba6d7bb6118a43.tar.bz2 rails-9232ba71190eb4e29964d60bd7ba6d7bb6118a43.zip |
Make engine check more explicit
Not everything that responds to `routes` is a Rails engine - for example
a Grape API endpoint will have a `routes` method but can't be used with
`assert_recognizes` as it doesn't respond to `recognize_path_with_request`.
Fixes #32312.
Diffstat (limited to 'activemodel/test/validators')
0 files changed, 0 insertions, 0 deletions