aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-12-23 17:50:59 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-12-23 17:51:07 -0200
commit7530c82e8257effa8ee3a7e0a2f7aed39502d201 (patch)
tree1a722c05630ea19723a0aa483d0d681c1cb450f8 /activemodel
parent9e1740af9c1a00980b30c66aba3c223c33e646e4 (diff)
downloadrails-7530c82e8257effa8ee3a7e0a2f7aed39502d201.tar.gz
rails-7530c82e8257effa8ee3a7e0a2f7aed39502d201.tar.bz2
rails-7530c82e8257effa8ee3a7e0a2f7aed39502d201.zip
Disable locale checks to avoid warnings in Active Model tests [ci skip]
Missed AMo when adding to the other components in ae196e85ee7169700afac2eecdc276bc06b10b8d.
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/test/cases/helper.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activemodel/test/cases/helper.rb b/activemodel/test/cases/helper.rb
index 7a63674757..522a7cebb4 100644
--- a/activemodel/test/cases/helper.rb
+++ b/activemodel/test/cases/helper.rb
@@ -7,4 +7,7 @@ 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'