Sha256: ab840d96112df4e1d39fc0c67c63169fa86a9a5eed901739e7d996161ebad3d7
Contents?: true
Size: 307 Bytes
Versions: 47
Compression:
Stored size: 307 Bytes
Contents
require 'spec_helper' require 'qu-immediate' describe Qu::Backend::Immediate do let(:payload) { Qu::Payload.new(:klass => SimpleJob) } before(:all) do Qu.backend = described_class.new end it 'performs immediately' do payload.should_receive(:perform) subject.enqueue(payload) end end
Version data entries
47 entries across 47 versions & 2 rubygems