Sha256: d40ed0970687fef7db3813bff8acbd3052188fd16ea1683be843dfbd983a2c50

Contents?: true

Size: 594 Bytes

Versions: 4

Compression:

Stored size: 594 Bytes

Contents

require 'bundler/setup'
require 'pry-byebug'
require 'rspec'
require 'rspec/its'
require 'resque'
require 'simplecov'
require 'timecop'
require 'pry-byebug'
require 'combustion'

redis = Redis.new(host: ENV['TEST_REDIS_HOST'])
Redis.current = redis
Resque.redis = redis

SimpleCov.start

require 'resque/integration'

Combustion.initialize! :action_controller
Dir["./spec/shared/**/*.rb"].each(&method(:require))

RSpec.configure do |config|
  config.before do
    Resque.redis.redis.flushdb
  end

  config.filter_run_including focus: true
  config.run_all_when_everything_filtered = true
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
resque-integration-3.8.2 spec/spec_helper.rb
resque-integration-3.8.1 spec/spec_helper.rb
resque-integration-3.8.0 spec/spec_helper.rb
resque-integration-3.7.1 spec/spec_helper.rb