From 7530c82e8257effa8ee3a7e0a2f7aed39502d201 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Mon, 23 Dec 2013 17:50:59 -0200 Subject: [PATCH] Disable locale checks to avoid warnings in Active Model tests [ci skip] Missed AMo when adding to the other components in ae196e85ee7169700afac2eecdc276bc06b10b8d. --- activemodel/test/cases/helper.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/activemodel/test/cases/helper.rb b/activemodel/test/cases/helper.rb index 7a636747575fb..522a7cebb433f 100644 --- a/activemodel/test/cases/helper.rb +++ b/activemodel/test/cases/helper.rb @@ -7,4 +7,7 @@ # 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'