about summary refs log tree commit diff
path: root/spec/requests
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/localization_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/requests/localization_spec.rb b/spec/requests/localization_spec.rb
index d1b7bdc1d..2f7a5e91e 100644
--- a/spec/requests/localization_spec.rb
+++ b/spec/requests/localization_spec.rb
@@ -3,6 +3,10 @@
 require 'rails_helper'
 
 describe 'Localization' do
+  after(:all) do
+    I18n.locale = I18n.default_locale
+  end
+  
   it 'uses a specific region when provided' do
     headers = { 'Accept-Language' => 'zh-HK' }