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.7.1 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.7.0 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.6.8 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.6.7 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.6.6 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.6.5 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.6.4 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.6.3 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.6.2 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.6.1 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.6.0 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.5.1 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.5.0 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.4.0 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.3.0 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.2.0 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.1.0 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.0.3 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.0.2 spec/routemaster/jobs/backends/resque_spec.rb
routemaster-drain-3.0.1 spec/routemaster/jobs/backends/resque_spec.rb