about summary refs log tree commit diff
path: root/spec/requests/localization_spec.rb
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-18 17:38:14 -0500
committerGitHub <noreply@github.com>2023-02-19 07:38:14 +0900
commit81ad6c2e39393ff20450385cb37dd9bf6e6651e5 (patch)
treee90ce3b793e696928a898251f75d9ab99ee3b65b /spec/requests/localization_spec.rb
parentac3561098e9cd1fd1ccee558295eb9f3430099d6 (diff)
Autofix Rubocop Style/StringLiterals (#23695)
Diffstat (limited to 'spec/requests/localization_spec.rb')
-rw-r--r--spec/requests/localization_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/requests/localization_spec.rb b/spec/requests/localization_spec.rb
index 0bc2786ac..39eeee5f0 100644
--- a/spec/requests/localization_spec.rb
+++ b/spec/requests/localization_spec.rb
@@ -10,7 +10,7 @@ describe 'Localization' do
   it 'uses a specific region when provided' do
     headers = { 'Accept-Language' => 'zh-HK' }
 
-    get "/auth/sign_in", headers: headers
+    get '/auth/sign_in', headers: headers
 
     expect(response.body).to include(
       I18n.t('auth.login', locale: 'zh-HK')
@@ -20,7 +20,7 @@ describe 'Localization' do
   it 'falls back to a locale when region missing' do
     headers = { 'Accept-Language' => 'es-FAKE' }
 
-    get "/auth/sign_in", headers: headers
+    get '/auth/sign_in', headers: headers
 
     expect(response.body).to include(
       I18n.t('auth.login', locale: 'es')
@@ -30,7 +30,7 @@ describe 'Localization' do
   it 'falls back to english when locale is missing' do
     headers = { 'Accept-Language' => '12-FAKE' }
 
-    get "/auth/sign_in", headers: headers
+    get '/auth/sign_in', headers: headers
 
     expect(response.body).to include(
       I18n.t('auth.login', locale: 'en')