Sha256: 755c60611a5a793bf34ceb0b493ef9fbf47ec85805211f76ff64f2db3541f369
Contents?: true
Size: 419 Bytes
Versions: 1
Compression:
Stored size: 419 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::Connection::Memory.instances.values.each &:flushdb end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fakeredis-0.4.1 | lib/fakeredis/rspec.rb |