require 'rack/test' require 'pry' require 'pry-byebug' require 'timecop' require 'em-spec/rspec' ENV['RACK_ENV'] = 'test' require_relative '../lib/pubsubstub' RSpec.configure do |config| config.include Rack::Test::Methods config.run_all_when_everything_filtered = true config.filter_run :focus config.color = true config.order = 'random' config.before(:each) { Pubsubstub::RedisPubSub.blocking_redis.flushdb } end