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.
This commit is contained in:
Elliot Winkler 2014-01-17 15:32:37 -07:00
parent bc028eff5f
commit d597ea89f3
1 changed files with 2 additions and 0 deletions

View File

@ -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