Skip to content

Commit aa12855

Browse files
committed
Add Rubocop comments
1 parent 724a83f commit aa12855

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
@@ -175,7 +175,7 @@ def mock_column(name, type, options = {})
175175
end
176176
end
177177

178-
describe '.get_schema_info' do
178+
describe '.get_schema_info' do # rubocop:disable Metrics/BlockLength
179179
subject do
180180
AnnotateModels.get_schema_info(klass, header)
181181
end
@@ -192,7 +192,7 @@ def mock_column(name, type, options = {})
192192
[]
193193
end
194194

195-
context 'when header is "Schema Info"' do
195+
context 'when header is "Schema Info"' do # rubocop:disable Metrics/BlockLength
196196
let :header do
197197
'Schema Info'
198198
end
@@ -286,8 +286,8 @@ def mock_column(name, type, options = {})
286286
end
287287
end
288288

289-
context 'when the primary key is specified' do
290-
context 'when the primary_key is :id' do
289+
context 'when the primary key is specified' do # rubocop:disable Metrics/BlockLength
290+
context 'when the primary_key is :id' do # rubocop:disable Metrics/BlockLength
291291
let :primary_key do
292292
:id
293293
end

0 commit comments

Comments
 (0)