From 7d9f131a20d04bd25e2d52fc1118278c2267c34e Mon Sep 17 00:00:00 2001 From: Graeme Nathan Date: Mon, 9 Apr 2018 13:56:19 -0700 Subject: [PATCH] Remove order-dependency from locale specs This commit removes an implicit order dependency in the frontend locale specs. --- frontend/spec/support/shared_contexts/locales.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/spec/support/shared_contexts/locales.rb b/frontend/spec/support/shared_contexts/locales.rb index 925850c9cb4..237199fe959 100644 --- a/frontend/spec/support/shared_contexts/locales.rb +++ b/frontend/spec/support/shared_contexts/locales.rb @@ -10,6 +10,7 @@ end after do + I18n.locale = :en # reset locale after each spec. I18n.reload! end end