0
Bu kodu bkz:Raylarda gecikme yöntemi nedir? Hangi kütüphaneden geliyor?
Event.delay.create!(
event_type: event_type,
description: 'Automatically populated',
date: Time.now.utc,
eventable_id: subscription.id,
eventable_type: subscription.class.name,
app_context: app_context)
Ve bu ilişkili testi:
it 'logs events' do
expect(Event).to receive(:delay).and_call_original
subject
end
and_call_original yöntem nedir? Gecikme yöntemi nedir?