mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
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:
parent
bc028eff5f
commit
d597ea89f3
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue