@@ -56,7 +56,7 @@ def drop_tables(*tables)
56
56
end
57
57
end
58
58
59
- # rubocop:disable RSpec/BeforeAfterAll because we are aware
59
+ # rubocop:disable RSpec/BeforeAfterAll -- because we are aware
60
60
before ( :all ) { create_tables ( *tables ) }
61
61
62
62
before { enqueued_jobs . clear }
@@ -222,7 +222,7 @@ def drop_tables(*tables)
222
222
alarmable . reschedule_alarm_jobs
223
223
end
224
224
225
- # rubocop:disable RSpec/ExampleLength because we need 6 lines here :(
225
+ # rubocop:disable RSpec/ExampleLength -- because we need 6 lines here :(
226
226
it 'cancels none updated jobs' do
227
227
allow ( alarmable ) . to receive ( :reschedule_alarm_job )
228
228
. and_return ( { alarm_id => 'something-new' } )
@@ -282,8 +282,8 @@ def drop_tables(*tables)
282
282
raise_error ( RuntimeError , /alarm_job/ )
283
283
end
284
284
285
- # rubocop:disable RSpec/RepeatedExample because it looks like the same
286
- # but the background is different
285
+ # rubocop:disable RSpec/RepeatedExample -- because it looks like the
286
+ # same but the background is different
287
287
it 'raise not when set' do
288
288
expect { TestAlarmable . new } . not_to raise_error
289
289
end
@@ -294,8 +294,8 @@ def drop_tables(*tables)
294
294
raise_error ( RuntimeError , /alarm_job/ )
295
295
end
296
296
297
- # rubocop:disable RSpec/RepeatedExample because it looks like the same
298
- # but the background is different
297
+ # rubocop:disable RSpec/RepeatedExample -- because it looks like the
298
+ # same but the background is different
299
299
it 'raise not when a class' do
300
300
expect { TestAlarmable . new } . not_to raise_error
301
301
end
@@ -308,8 +308,8 @@ def drop_tables(*tables)
308
308
raise_error ( RuntimeError , /alarm_base_date_property/ )
309
309
end
310
310
311
- # rubocop:disable RSpec/RepeatedExample because it looks like the same
312
- # but the background is different
311
+ # rubocop:disable RSpec/RepeatedExample -- because it looks like the
312
+ # same but the background is different
313
313
it 'raise not when set' do
314
314
expect { TestAlarmable . new } . not_to raise_error
315
315
end
@@ -320,8 +320,8 @@ def drop_tables(*tables)
320
320
raise_error ( RuntimeError , /alarm_base_date_property/ )
321
321
end
322
322
323
- # rubocop:disable RSpec/RepeatedExample because it looks like the same
324
- # but the background is different
323
+ # rubocop:disable RSpec/RepeatedExample -- because it looks like the
324
+ # same but the background is different
325
325
it 'raise not when an useable property' do
326
326
expect { TestAlarmable . new } . not_to raise_error
327
327
end
0 commit comments