From d597ea89f3cc206b24d1b2751fa8046c71148aa3 Mon Sep 17 00:00:00 2001 From: Elliot Winkler Date: Fri, 17 Jan 2014 15:32:37 -0700 Subject: [PATCH] Fix I18n.enforce_available_locales warning The warning message was: [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. --- spec/spec_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index f917d181..4878e4fc 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -24,3 +24,5 @@ RSpec.configure do |config| config.include Shoulda::Matchers::ActionController, example_group: { file_path: /action_controller/ } end + +I18n.enforce_available_locales = false