aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2016-01-14 15:33:14 -0600
committerschneems <richard.schneeman@gmail.com>2016-01-14 15:33:14 -0600
commita95a554c7e6e787c443f025eeede50f130df5863 (patch)
tree9266bce05308c3aa88faf59f7b0bc84da3e27c6c
parent4fc30744036964a7454556575bcdb5eef70f0825 (diff)
downloadrails-a95a554c7e6e787c443f025eeede50f130df5863.tar.gz
rails-a95a554c7e6e787c443f025eeede50f130df5863.tar.bz2
rails-a95a554c7e6e787c443f025eeede50f130df5863.zip
Fix intermittent test failures
😳
-rw-r--r--activerecord/test/cases/migration_test.rb1
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"]