From 6eef2555f11966cb4a925ea1adf9cae4bc07bcb6 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Fri, 20 Dec 2019 12:50:47 +0100 Subject: [PATCH] Fix i18n available locales error For some reason the locales defined in config/environment/test.rb are `en,es`, but in the used application.yml they were `en,es,en-GB`. This seems to trigger errors in the test environment ("en-GB is not a valid locale") if the two lists don't match..? --- config/application.yml.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/application.yml.example b/config/application.yml.example index 28d271e111..8de7369f42 100644 --- a/config/application.yml.example +++ b/config/application.yml.example @@ -13,7 +13,7 @@ DEFAULT_COUNTRY_CODE: AU # Locale for translation. LOCALE: en # For multilingual - ENV doesn't have array so pass it as string with commas -AVAILABLE_LOCALES: en,es,en-GB +AVAILABLE_LOCALES: en,es # Spree zone. CHECKOUT_ZONE: Australia # Find currency codes at http://en.wikipedia.org/wiki/ISO_4217.