Skip to content

Commit 518badc

Browse files
committed
fix rubocop
Signed-off-by: ota42y <[email protected]>
1 parent 6c728c8 commit 518badc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/lib/annotate/annotate_models_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def mock_column(name, type, options = {})
6969
null: false,
7070
default: nil,
7171
sql_type: type,
72-
comment: nil,
72+
comment: nil
7373
}
7474

7575
stubs = default_options.dup
@@ -2620,11 +2620,11 @@ def annotate_one_file(options = {})
26202620

26212621
it 'should update' do
26222622
klass = mock_class(:users,
2623-
:id,
2624-
[
2623+
:id,
2624+
[
26252625
mock_column(:id, :integer),
26262626
mock_column(:name, :string, null: true, comment: '名前1')
2627-
])
2627+
])
26282628
@schema_info = AnnotateModels.get_schema_info(klass, '== Schema Info', with_comment: true)
26292629
annotate_one_file
26302630

0 commit comments

Comments
 (0)