diff options
| author | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-16 23:09:42 +0900 |
|---|---|---|
| committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-02-17 00:53:26 +0900 |
| commit | 3ac195c5349c9f72d169a4961acd2df230519ed4 (patch) | |
| tree | 06a74ae00703b1a1ea1fdc4b568b0605ae2120bb /railties/lib/rails/generators/test_unit/controller/templates | |
| parent | fed7888c83183892f5a7ceb5df40004df7ad5b06 (diff) | |
| download | rails-3ac195c5349c9f72d169a4961acd2df230519ed4.tar.gz rails-3ac195c5349c9f72d169a4961acd2df230519ed4.tar.bz2 rails-3ac195c5349c9f72d169a4961acd2df230519ed4.zip | |
Fix the regex that extract mismatched foreign key information
The CI failure for `test_errors_for_bigint_fks_on_integer_pk_table` is
due to the poor regex that extract all ``` `(\w+)` ``` like parts from
the message (`:foreign_key` should be `"old_car_id"`, but `"engines"`):
https://travis-ci.org/rails/rails/jobs/494123455#L1703
I've improved the regex more strictly and have more exercised mismatched
foreign key tests.
Fixes #35294
Diffstat (limited to 'railties/lib/rails/generators/test_unit/controller/templates')
0 files changed, 0 insertions, 0 deletions
