Sha256: 25d00bcbb9c1fce2482dbca44e6155f3c8d5f0830a40dc45e2d3fd7c3b40f3f9

Contents?: true

Size: 188 Bytes

Versions: 24

Compression:

Stored size: 188 Bytes

Contents

module RspecSupportUsesRedis
  def uses_redis
    let(:redis) { ::Redis.new }

    before do
      redis.flushall
    end
  end
end

RSpec.configure { |c| c.extend RspecSupportUsesRedis }

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
materialist-0.0.5 spec/support/uses_redis.rb
materialist-0.0.4 spec/support/uses_redis.rb
materialist-0.0.3 spec/support/uses_redis.rb
materialist-0.0.2 spec/support/uses_redis.rb