Permalink
Browse files

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.
  • Loading branch information...
1 parent bc028ef commit d597ea89f3cc206b24d1b2751fa8046c71148aa3 @mcmire mcmire committed Jan 17, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 spec/spec_helper.rb
View
@@ -24,3 +24,5 @@
config.include Shoulda::Matchers::ActionController,
example_group: { file_path: /action_controller/ }
end
+
+I18n.enforce_available_locales = false

0 comments on commit d597ea8

Please sign in to comment.