1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/test/cases/helper.rb
Carlos Antonio da Silva 7530c82e82 Disable locale checks to avoid warnings in Active Model tests [ci skip]
Missed AMo when adding to the other components in
ae196e85ee.
2013-12-23 17:51:07 -02:00

13 lines
412 B
Ruby

require File.expand_path('../../../../load_paths', __FILE__)
require 'config'
require 'active_model'
require 'active_support/core_ext/string/access'
# Show backtraces for deprecated behavior for quicker cleanup.
ActiveSupport::Deprecation.debug = true
# Disable available locale checks to avoid warnings running the test suite.
I18n.enforce_available_locales = false
require 'active_support/testing/autorun'