Sha256: f02a6fbdcc30c2c1f0e9c8fa17acb0180b7ec6665910b23abe4734d24a5b747e
Contents?: true
Size: 468 Bytes
Versions: 5
Compression:
Stored size: 468 Bytes
Contents
# Require this either in your Gemfile or in RSpec's # support scripts. Examples: # # # Gemfile # group :test do # gem "rspec" # gem "fakeredis", :require => "fakeredis/rspec" # end # # # spec/support/fakeredis.rb # require 'fakeredis/rspec' # require 'rspec/core' require 'fakeredis' RSpec.configure do |c| c.before do redis = Redis.current redis.flushdb if redis.client.connection.is_a?(Redis::Connection::Memory) end end
Version data entries
5 entries across 5 versions & 1 rubygems