Skip to content

Commit 9b03676

Browse files
committed
Rubocop
1 parent 97473f1 commit 9b03676

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/grape/validations/validators/default_spec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def app
349349
context 'structures types' do
350350
[
351351
[Hash, {}],
352-
[Hash, {test: 'non-empty'}],
352+
[Hash, { test: 'non-empty' }],
353353
[Array, []],
354354
[Array, ['non-empty']],
355355
[Set, []],
@@ -373,13 +373,13 @@ def app
373373
context 'special types' do
374374
[
375375
[JSON, ''],
376-
[JSON, {test: 'non-empty-json'}.to_json],
376+
[JSON, { test: 'non-empty-json' }.to_json],
377377
[Array[JSON], []],
378-
[Array[JSON], [{test: 'non-empty-json'}.to_json]],
378+
[Array[JSON], [{ test: 'non-empty-json' }.to_json]],
379379
[::File, ''],
380-
[::File, {test: 'non-empty-json'}.to_json],
380+
[::File, { test: 'non-empty-json' }.to_json],
381381
[Rack::Multipart::UploadedFile, ''],
382-
[Rack::Multipart::UploadedFile, {test: 'non-empty-json'}.to_json]
382+
[Rack::Multipart::UploadedFile, { test: 'non-empty-json' }.to_json]
383383
].each do |type, default|
384384
it 'respects the default value' do
385385
subject.params do

0 commit comments

Comments
 (0)