Sha256: 9815354a2a83b511406309f7dfcd9109bc72ec44d746a5ccd88bc81e34f945ef

Contents?: true

Size: 443 Bytes

Versions: 2

Compression:

Stored size: 443 Bytes

Contents

require 'worker_roulette'
require 'evented-spec'
require 'rspec'
require 'pry'

require File.expand_path(File.join("..", "..", "lib", "worker_roulette.rb"), __FILE__)
include WorkerRoulette

Dir[File.join(File.dirname(__FILE__), 'helpers', '**/*.rb')].sort.each { |file| require file.gsub(".rb", "")}

EM::Hiredis.reconnect_timeout = 0.01

RSpec.configure do |c|
  c.after(:each) do
    Redis.new(WorkerRoulette.redis_config).flushdb
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
worker_roulette-0.1.7 spec/spec_helper.rb
worker_roulette-0.1.6 spec/spec_helper.rb