spec/dummy/config/environments/test.rb in naf-2.1.5 vs spec/dummy/config/environments/test.rb in naf-2.1.6
- old
+ new
@@ -32,6 +32,10 @@
# Raise exception on mass assignment protection for Active Record models
config.active_record.mass_assignment_sanitizer = :strict
# Print deprecation notices to the stderr
config.active_support.deprecation = :stderr
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation can not be found)
+ config.i18n.enforce_available_locales = false
end