2010-02-23 20:31:17 -05:00
|
|
|
require File.expand_path('../../../../load_paths', __FILE__)
|
2009-11-10 00:28:36 -05:00
|
|
|
|
2009-03-20 06:32:24 -04:00
|
|
|
require 'config'
|
2009-03-20 11:07:49 -04:00
|
|
|
require 'active_model'
|
2010-05-08 17:03:45 -04:00
|
|
|
require 'active_support/core_ext/string/access'
|
2009-03-20 06:32:24 -04:00
|
|
|
|
|
|
|
# Show backtraces for deprecated behavior for quicker cleanup.
|
|
|
|
ActiveSupport::Deprecation.debug = true
|
|
|
|
|
2013-12-23 14:50:59 -05:00
|
|
|
# Disable available locale checks to avoid warnings running the test suite.
|
|
|
|
I18n.enforce_available_locales = false
|
|
|
|
|
2012-12-28 14:17:37 -05:00
|
|
|
require 'active_support/testing/autorun'
|
2014-07-19 16:35:12 -04:00
|
|
|
|
|
|
|
require 'mocha/setup' # FIXME: stop using mocha
|
2014-09-02 10:18:23 -04:00
|
|
|
|
|
|
|
# FIXME: we have tests that depend on run order, we should fix that and
|
|
|
|
# remove this method call.
|
|
|
|
require 'active_support/test_case'
|
2014-09-08 08:32:16 -04:00
|
|
|
ActiveSupport::TestCase.test_order = :sorted
|