You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just to echo: I18n.enforce_available_locales is not something that a gem should be setting. It is a global that is intended to be configured based on the needs of the application.
Concretely: applications which use faker even only as a development dependency may be getting incorrect results from their specs because I18n.enforce_available_locales is true in dev mode but false in prod mode. This could potentially result in very misleading results.
Issue
This LOC is causing our test suite to fail because of the fallback logic we have in place that specifically relies on locales not being enforced.
This gem shouldn't change environment settings that may affect test suites that rely on observing them in different states.
The text was updated successfully, but these errors were encountered: