Sha256: 39456c58420cee329de9c52e8ae56885704cf84ac8ba5c748207d11c2c3198c9
Contents?: true
Size: 384 Bytes
Versions: 31
Compression:
Stored size: 384 Bytes
Contents
require 'redis' require 'spec/support/uses_dotenv' require 'routemaster/config' module RspecSupportUsesRedis def uses_redis uses_dotenv let(:redis) { Routemaster::Config.drain_redis } before { Routemaster::Config.cache_redis.redis.flushdb } before { Routemaster::Config.drain_redis.redis.flushdb } end end RSpec.configure { |c| c.extend RspecSupportUsesRedis }
Version data entries
31 entries across 31 versions & 1 rubygems