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

Version Path
classiccms-0.7.5 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.7.4 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.7.3 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.7.2 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.7.1 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.7.0 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.6.9 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.6.8 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.6.7 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.6.6 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.6.5 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.6.4 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.6.3 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.6.2 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.6.1 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.6.0 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.5.17 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.5.16 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.5.15 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb
classiccms-0.5.14 vendor/bundle/gems/qu-0.1.4/spec/qu/backend/immediate_spec.rb