Sha256: 4a087e5ed3889e2f4f04e353cb761aa3b841e1649a1f8430c295a79fadc670aa
Contents?: true
Size: 372 Bytes
Versions: 10
Compression:
Stored size: 372 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.flushdb } before { Routemaster::Config.drain_redis.flushdb } end end RSpec.configure { |c| c.extend RspecSupportUsesRedis }
Version data entries
10 entries across 10 versions & 1 rubygems