diff options
author | schneems <richard.schneeman@gmail.com> | 2016-01-14 15:33:14 -0600 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2016-01-14 15:33:14 -0600 |
commit | a95a554c7e6e787c443f025eeede50f130df5863 (patch) | |
tree | 9266bce05308c3aa88faf59f7b0bc84da3e27c6c | |
parent | 4fc30744036964a7454556575bcdb5eef70f0825 (diff) | |
download | rails-a95a554c7e6e787c443f025eeede50f130df5863.tar.gz rails-a95a554c7e6e787c443f025eeede50f130df5863.tar.bz2 rails-a95a554c7e6e787c443f025eeede50f130df5863.zip |
Fix intermittent test failures
😳
-rw-r--r-- | activerecord/test/cases/migration_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb index fe74ca127f..f51e366b1d 100644 --- a/activerecord/test/cases/migration_test.rb +++ b/activerecord/test/cases/migration_test.rb @@ -380,6 +380,7 @@ class MigrationTest < ActiveRecord::TestCase old_path = ActiveRecord::Migrator.migrations_paths ActiveRecord::Migrator.migrations_paths = migrations_path + ActiveRecord::Migrator.up(migrations_path) assert_equal current_env, ActiveRecord::InternalMetadata[:environment] original_rails_env = ENV["RAILS_ENV"] |