aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2016-08-21 19:55:32 +0530
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-04-26 22:59:35 -0700
commitebeae19917bfed29f0ce7efa013ae950d22953f3 (patch)
treeb86a76e70b1226665932496b5fa353d84a134810 /railties
parentf67ddb0ffebb6e3e2bb88536c27975a4cc92de55 (diff)
downloadrails-ebeae19917bfed29f0ce7efa013ae950d22953f3.tar.gz
rails-ebeae19917bfed29f0ce7efa013ae950d22953f3.tar.bz2
rails-ebeae19917bfed29f0ce7efa013ae950d22953f3.zip
Don't use same table between primary_keys tests and composite_primary_keys tests
- The test `PrimaryKeyAnyTypeTest#test_any_type_primary_key` was failing if ran after running all tests from `CompositePrimaryKeyTest`. - This was happening because `CompositePrimaryKeyTest` was changing the primary key of the barcodes table which was cached in schema cache. - As we were always going to drop the `barcodes` table at the end of tests in both `PrimaryKeyTest` and `CompositePrimaryKeyTest`, solved this issue by using different table name for tests in `CompositePrimaryKeyTest`.
Diffstat (limited to 'railties')
0 files changed, 0 insertions, 0 deletions