Skip to content

Commit 8a73b95

Browse files
committed
fix rubocop
1 parent a2a5041 commit 8a73b95

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
@@ -2616,11 +2616,11 @@ def annotate_one_file(options = {})
26162616

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

0 commit comments

Comments
 (0)