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
ae196e85ee7169700afac2eecdc276bc06b10b8d.
2013-12-23 17:51:07 -02:00

14 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'