about summary refs log tree commit diff
path: root/spec/controllers/api/v1/apps_controller_spec.rb
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-21 19:54:36 -0500
committerGitHub <noreply@github.com>2023-02-22 09:54:36 +0900
commit0cfdd1a401f055c23e308a4b823bd250b1cbb3d3 (patch)
tree35cd9c386409bc9a1ca917bb6201b0ba1af37896 /spec/controllers/api/v1/apps_controller_spec.rb
parent7ecf783dd3bfc07f80aab495273b6d01ba972c40 (diff)
Enable Rubocop Style/StringConcatenation defaults (#23792)
Diffstat (limited to 'spec/controllers/api/v1/apps_controller_spec.rb')
-rw-r--r--spec/controllers/api/v1/apps_controller_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/api/v1/apps_controller_spec.rb b/spec/controllers/api/v1/apps_controller_spec.rb
index 9ac7880a4..61158e881 100644
--- a/spec/controllers/api/v1/apps_controller_spec.rb
+++ b/spec/controllers/api/v1/apps_controller_spec.rb
@@ -68,7 +68,7 @@ RSpec.describe Api::V1::AppsController, type: :controller do
     end
 
     context 'with a too-long website' do
-      let(:website) { 'https://foo.bar/' + ('hoge' * 2_000) }
+      let(:website) { "https://foo.bar/#{'hoge' * 2_000}" }
 
       it 'returns http unprocessable entity' do
         expect(response).to have_http_status(422)
@@ -76,7 +76,7 @@ RSpec.describe Api::V1::AppsController, type: :controller do
     end
 
     context 'with a too-long redirect_uris' do
-      let(:redirect_uris) { 'https://foo.bar/' + ('hoge' * 2_000) }
+      let(:redirect_uris) { "https://foo.bar/#{'hoge' * 2_000}" }
 
       it 'returns http unprocessable entity' do
         expect(response).to have_http_status(422)