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

Version Path
nexia_worker_roulette-0.2.5 spec/spec_helper.rb
nexia_worker_roulette-0.2.4 spec/spec_helper.rb
nexia_worker_roulette-0.2.3 spec/spec_helper.rb
nexia_worker_roulette-0.2.2 spec/spec_helper.rb
nexia_worker_roulette-0.2.1 spec/spec_helper.rb
nexia_worker_roulette-0.2.0 spec/spec_helper.rb
worker_roulette-0.1.13 spec/spec_helper.rb
worker_roulette-0.1.12 spec/spec_helper.rb
nexia_worker_roulette-0.1.12 spec/spec_helper.rb
nexia_worker_roulette-0.1.11 spec/spec_helper.rb
worker_roulette-0.1.9 spec/spec_helper.rb