diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-08-21 19:55:32 +0530 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-04-26 22:59:35 -0700 |
commit | ebeae19917bfed29f0ce7efa013ae950d22953f3 (patch) | |
tree | b86a76e70b1226665932496b5fa353d84a134810 /actionmailer/test/log_subscriber_test.rb | |
parent | f67ddb0ffebb6e3e2bb88536c27975a4cc92de55 (diff) | |
download | rails-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 'actionmailer/test/log_subscriber_test.rb')
0 files changed, 0 insertions, 0 deletions