Load also de-de for tests.

This commit is contained in:
Martin Edenhofer 2016-12-06 12:11:37 +01:00
parent 7ea7c1aa83
commit e1d8e76f60

View file

@ -19,7 +19,7 @@ returns
def self.to_sync
locales = Locale.where(active: true)
if Rails.env.test?
locales = Locale.where(active: true, locale: ['en-us'])
locales = Locale.where(active: true, locale: ['en-us', 'de-de'])
end
# read used locales based on env, e. g. export Z_LOCALES='en-us:de-de'