Enable Rubocop Style/StringConcatenation defaults (#23792)
This commit is contained in:
parent
7ecf783dd3
commit
0cfdd1a401
14 changed files with 25 additions and 44 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue