@@ -248,6 +248,7 @@ def test_reflection_block_with_meta_block_mutates_the_reflection_meta
248
248
assert_respond_to association . meta , :call
249
249
end
250
250
251
+ # rubocop:disable Metrics/AbcSize
251
252
def test_reflection_block_with_meta_in_link_block_mutates_the_reflection_meta
252
253
serializer_class = Class . new ( ActiveModel ::Serializer ) do
253
254
has_one :blog do
@@ -280,6 +281,7 @@ def test_reflection_block_with_meta_in_link_block_mutates_the_reflection_meta
280
281
assert_equal @expected_meta , reflection . options . fetch ( :meta )
281
282
assert_nil association . meta
282
283
end
284
+ # rubocop:enable Metrics/AbcSize
283
285
284
286
# rubocop:disable Metrics/AbcSize
285
287
def test_reflection_block_with_meta_block_in_link_block_mutates_the_reflection_meta
@@ -350,6 +352,7 @@ def test_no_href_in_vanilla_reflection
350
352
assert_match ( /undefined method `href'/ , exception . message )
351
353
end
352
354
355
+ # rubocop:disable Metrics/AbcSize
353
356
def test_mutating_reflection_block_is_not_thread_safe
354
357
serializer_class = Class . new ( ActiveModel ::Serializer ) do
355
358
has_one :blog do
@@ -380,6 +383,7 @@ def test_mutating_reflection_block_is_not_thread_safe
380
383
assert_equal model2_meta , association . meta
381
384
assert_equal model2_meta , reflection . options . fetch ( :meta )
382
385
end
386
+ # rubocop:enable Metrics/AbcSize
383
387
end
384
388
end
385
389
end
0 commit comments