Sha256: 41c30435425a415a26dded5dfb9f16cf78582676b2b56abd837613ddb0edc52a

Contents?: true

Size: 619 Bytes

Versions: 1

Compression:

Stored size: 619 Bytes

Contents

require 'rubygems'
require 'bundler/setup'

require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start

require 'English'
require 'simplecov'

require 'rspec'

require 'resque'
require 'resque-loner'

module Support
  class << self
    attr_accessor :redis_pid
  end
end

RSpec.configure do |config|
  config.before(:suite) do
    unless ENV['RESQUE_LONER_DISABLE_TEST_REDIS_SERVER']
      # Start our own Redis when the tests start. RedisInstance will take care of
      # starting and stopping.
      require File.expand_path('../support/redis_instance', __FILE__)
      RedisInstance.run!
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
resque-loner-1.3.0 spec/spec_helper.rb