aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test/cases/helper.rb')
-rw-r--r--activemodel/test/cases/helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activemodel/test/cases/helper.rb b/activemodel/test/cases/helper.rb
index 804e0c24f6..5e80353836 100644
--- a/activemodel/test/cases/helper.rb
+++ b/activemodel/test/cases/helper.rb
@@ -13,3 +13,8 @@ I18n.enforce_available_locales = false
require 'active_support/testing/autorun'
require 'mocha/setup' # FIXME: stop using mocha
+
+# FIXME: we have tests that depend on run order, we should fix that and
+# remove this method call.
+require 'active_support/test_case'
+ActiveSupport::TestCase.my_tests_are_order_dependent!