Sha256: e40ef9df2fe79253050004bb907e1a8b8542f9151f1f355a8e6e42573450c024

Contents?: true

Size: 371 Bytes

Versions: 35

Compression:

Stored size: 371 Bytes

Contents

require 'routemaster/jobs/backends/resque'
require 'spec/routemaster/jobs/backends/backend_examples'

RSpec.describe Routemaster::Jobs::Backends::Resque do
  around do |example|
    original_inline = Resque.inline
    begin
      Resque.inline = true
      example.run
    ensure
      Resque.inline = original_inline
    end
  end

  it_behaves_like 'a job backend'
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
routemaster-drain-3.0.0 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-2.5.4 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-2.5.3 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-2.5.2 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-2.5.1 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-2.5.0 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-2.4.4 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-2.4.3 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-2.4.2 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-2.4.1 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-2.4.0 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-2.3.0 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-2.2.2 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-2.0.0 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-1.1.0 spec/routemaster/jobs/backends/resque_spec.rb