Sha256: c9760c07de3a9bd29cde350a5d686148b957187de8eaaf4f987b8df28b133e08

Contents?: true

Size: 210 Bytes

Versions: 7

Compression:

Stored size: 210 Bytes

Contents

require 'rubygems'
$TESTING=true
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'redis'

Spec::Matchers.define :have_key do |expected|
  match do |redis|
    redis.exists(expected)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
redis-namespace-0.10.0 spec/spec_helper.rb
redis-namespace-0.9.0 spec/spec_helper.rb
redis-namespace-0.8.0 spec/spec_helper.rb
redis-namespace-0.7.0 spec/spec_helper.rb
redis-namespace-0.6.0 spec/spec_helper.rb
redis-namespace-0.5.1 spec/spec_helper.rb
redis-namespace-0.5.0 spec/spec_helper.rb