From e1d8e76f60e5a0acd24e2aa8448dd977cbc04c0d Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 6 Dec 2016 12:11:37 +0100 Subject: [PATCH] Load also de-de for tests. --- app/models/locale.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/locale.rb b/app/models/locale.rb index dfc4e028b..f6b890270 100644 --- a/app/models/locale.rb +++ b/app/models/locale.rb @@ -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'