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-3.8.3 spec/support/uses_redis.rb
materialist-3.8.2 spec/support/uses_redis.rb
materialist-3.8.1 spec/support/uses_redis.rb
materialist-3.8.0 spec/support/uses_redis.rb
materialist-3.7.0 spec/support/uses_redis.rb
materialist-3.6.0 spec/support/uses_redis.rb
materialist-3.5.0 spec/support/uses_redis.rb
materialist-3.4.0 spec/support/uses_redis.rb
materialist-3.3.0 spec/support/uses_redis.rb
materialist-3.2.0 spec/support/uses_redis.rb
materialist-3.1.0 spec/support/uses_redis.rb
materialist-3.0.0 spec/support/uses_redis.rb
materialist-2.3.1 spec/support/uses_redis.rb
materialist-2.3.0 spec/support/uses_redis.rb
materialist-2.2.0 spec/support/uses_redis.rb
materialist-2.1.0 spec/support/uses_redis.rb
materialist-2.0.0 spec/support/uses_redis.rb
materialist-1.0.0 spec/support/uses_redis.rb
materialist-0.1.0 spec/support/uses_redis.rb
materialist-0.0.6 spec/support/uses_redis.rb