Set the locale to "en" in test environment.

This commit is contained in:
Maikel Linke
2015-10-07 14:05:50 +11:00
parent bd737ef727
commit 5aa3ebde9c

View File

@@ -33,6 +33,9 @@ Openfoodnetwork::Application.configure do
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test
# Tests assume English text on the site.
config.i18n.default_locale = "en"
# 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,
# like if you have constraints or database-specific column types