Sha256: bf8bc1a068bcbdd44f346158429b6ad24e19a8ac7e96829c5643a1e6106103e7
Contents?: true
Size: 489 Bytes
Versions: 28
Compression:
Stored size: 489 Bytes
Contents
require 'spec_helper' require 'delayed_job' require 'delayed/worker' require 'rollbar/delay/delayed_job' require 'delayed/backend/test' describe Rollbar::Delay::DelayedJob do before do Delayed::Backend::Test.prepare_worker Delayed::Worker.backend = :test end describe '.call' do let(:payload) { {} } it 'calls Rollbar' do expect(Rollbar).to receive(:process_from_async_handler).with(payload) Rollbar::Delay::DelayedJob.call(payload) end end end
Version data entries
28 entries across 28 versions & 1 rubygems