Sha256: 66f88ed291b0f1cbb9b5bee03c677b1dfa1fe7bed852cb146f00a8848708f9c6
Contents?: true
Size: 477 Bytes
Versions: 11
Compression:
Stored size: 477 Bytes
Contents
module WorkerRoulette require 'worker_roulette' require 'evented-spec' require 'rspec' require 'pry' require File.expand_path(File.join("..", "..", "lib", "worker_roulette.rb"), __FILE__) 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.start.redis_config).flushdb end end end
Version data entries
11 entries across 11 versions & 2 rubygems