aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2014-08-13 22:29:30 +0900
committerAkira Matsuda <ronnie@dio.jp>2014-08-13 22:30:23 +0900
commit2ef0d3bea622ad8d61b2b2f47451ff0c9604637d (patch)
treeee9026b157d64b062515d69baa555a68dc8b7fc2 /actionmailer/test
parent80cee184acfa9cc831a20aca7be13d3bc8dcf845 (diff)
downloadrails-2ef0d3bea622ad8d61b2b2f47451ff0c9604637d.tar.gz
rails-2ef0d3bea622ad8d61b2b2f47451ff0c9604637d.tar.bz2
rails-2ef0d3bea622ad8d61b2b2f47451ff0c9604637d.zip
actionmailer_tests_are_order_dependent!
Diffstat (limited to 'actionmailer/test')
-rw-r--r--actionmailer/test/abstract_unit.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/actionmailer/test/abstract_unit.rb b/actionmailer/test/abstract_unit.rb
index 98d266bd73..1281b1bcfc 100644
--- a/actionmailer/test/abstract_unit.rb
+++ b/actionmailer/test/abstract_unit.rb
@@ -51,3 +51,8 @@ def jruby_skip(message = '')
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!