aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration/helper.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-02-16 23:09:42 +0900
committerRyuta Kamizono <kamipo@gmail.com>2019-02-17 00:53:26 +0900
commit3ac195c5349c9f72d169a4961acd2df230519ed4 (patch)
tree06a74ae00703b1a1ea1fdc4b568b0605ae2120bb /activerecord/test/cases/migration/helper.rb
parentfed7888c83183892f5a7ceb5df40004df7ad5b06 (diff)
downloadrails-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 'activerecord/test/cases/migration/helper.rb')
0 files changed, 0 insertions, 0 deletions