aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/abstract_unit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/abstract_unit.rb')
-rw-r--r--activesupport/test/abstract_unit.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/activesupport/test/abstract_unit.rb b/activesupport/test/abstract_unit.rb
index a777708e0c..cbe491eb73 100644
--- a/activesupport/test/abstract_unit.rb
+++ b/activesupport/test/abstract_unit.rb
@@ -22,14 +22,15 @@ if "ruby".encoding_aware?
end
end
+ENV['NO_RELOAD'] = '1'
+require 'active_support'
+require 'active_support/time'
+
require 'test/unit'
require 'empty_bool'
silence_warnings { require 'mocha/setup' }
-ENV['NO_RELOAD'] = '1'
-require 'active_support'
-
# Disable available locale checks to avoid warnings running the test suite.
I18n.enforce_available_locales = false