Force english locale in test environment

This commit is contained in:
Em-AK
2017-03-29 04:22:11 +02:00
committed by Maikel
parent 49c19a1d6a
commit 78ffdec693

View File

@@ -35,6 +35,7 @@ Openfoodnetwork::Application.configure do
# Tests assume English text on the site.
config.i18n.default_locale = "en"
I18n.locale = config.i18n.locale = config.i18n.default_locale
# Use SQL instead of Active Record's schema dumper when creating the test database.
# This is necessary if your schema can't be completely dumped by the schema dumper,