aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
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 /activerecord
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 'activerecord')
-rw-r--r--activerecord/test/cases/helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb
index 1bccd21f84..1a31c2ec4a 100644
--- a/activerecord/test/cases/helper.rb
+++ b/activerecord/test/cases/helper.rb
@@ -208,3 +208,8 @@ module InTimeZone
end
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!