Sha256: 6c1acbd6ec5ae9575fefd725af21af06602780115f90611a260a7e2a6eee8340
Contents?: true
Size: 469 Bytes
Versions: 4
Compression:
Stored size: 469 Bytes
Contents
require 'spec_helper' RSpec.describe Shoryuken::Worker::InlineExecutor do before do Shoryuken.worker_executor = described_class end describe '.perform_async' do specify do expect_any_instance_of(TestWorker).to receive(:perform) TestWorker.perform_async('test') end end describe '.perform_in' do specify do expect_any_instance_of(TestWorker).to receive(:perform) TestWorker.perform_in(60, 'test') end end end
Version data entries
4 entries across 4 versions & 1 rubygems