$:.unshift File.expand_path(File.dirname(__FILE__) + "/../lib") require 'em-hiredis' require 'rspec' require 'em-spec/rspec' require 'support/connection_helper' require 'support/redis_mock' require 'stringio' RSpec.configure do |config| config.include ConnectionHelper config.include EventMachine::SpecHelper config.include RedisMock::Helper end # This speeds the tests up a bit EM::Hiredis.reconnect_timeout = 0.01