Sha256: 1bfed8d31e28650439256ca127ec59f7890ac29e07555d0c2f7fef8a2c81dadb

Contents?: true

Size: 556 Bytes

Versions: 7

Compression:

Stored size: 556 Bytes

Contents

require 'bundler'
Bundler.setup

require 'active_job'
require 'support/job_buffer'

GlobalID.app = 'aj'

@adapter  = ENV['AJADAPTER'] || 'resque'

def sidekiq?
  @adapter == 'sidekiq'
end

def ruby_193?
  RUBY_VERSION == '1.9.3' && RUBY_ENGINE != 'java'
end

# Sidekiq doesn't work with MRI 1.9.3
exit if sidekiq? && ruby_193?

if ENV['AJ_INTEGRATION_TESTS']
  require 'support/integration/helper'
else
  require "adapters/#{@adapter}"
end

require 'active_job/retry'

require 'active_support/testing/autorun'

ActiveSupport::TestCase.test_order = :random

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
activejob-retry-0.6.3 test/helper.rb
activejob-retry-0.6.2 test/helper.rb
activejob-retry-0.6.1 test/helper.rb
activejob-retry-0.6.0 test/helper.rb
activejob-retry-0.5.1 test/helper.rb
activejob-retry-0.5.0 test/helper.rb
activejob-retry-0.4.2 test/helper.rb