aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2014-09-02 23:48:23 +0930
committerMatthew Draper <matthew@trebex.net>2014-09-02 23:55:34 +0930
commit2f52f969885b2834198de0045748436a4651a94e (patch)
tree894fe0538b7f624d4a0e188580f767034f392ad1 /activemodel
parentcc7faddf1771e627a989e8583223a5729b6e098a (diff)
downloadrails-2f52f969885b2834198de0045748436a4651a94e.tar.gz
rails-2f52f969885b2834198de0045748436a4651a94e.tar.bz2
rails-2f52f969885b2834198de0045748436a4651a94e.zip
Leave all our tests as order_dependent! for now
We're seeing too many failures to believe otherwise. This reverts commits bc116a55ca3dd9f63a1f1ca7ade3623885adcc57, cbde413df3839e06dd14e3c220e9800af91e83ab, bf0a67931dd8e58f6f878b9510ae818ae1f29a3a, and 2440933fe2c27b27bcafcd9019717800db2641aa.
Diffstat (limited to 'activemodel')
-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!