Sha256: edfb32d5e37fc9802d84173e52017346e0a542c34e94edc7b84fb92cfe56cda9

Contents?: true

Size: 354 Bytes

Versions: 59

Compression:

Stored size: 354 Bytes

Contents

require 'rubygems'
require 'bundler'
Bundler.setup(:default, :test)
Bundler.require(:default, :test)

require 'rspec'
require 'redis'
require 'logger'

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

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

Version data entries

59 entries across 59 versions & 5 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
classiccms-0.7.4 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
classiccms-0.7.3 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
redis-namespace-1.0.4 spec/spec_helper.rb
redis-namespace-1.2.2 spec/spec_helper.rb
redis-namespace-1.1.1 spec/spec_helper.rb
classiccms-0.7.2 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
classiccms-0.7.1 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
classiccms-0.7.0 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
classiccms-0.6.9 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
classiccms-0.6.8 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
classiccms-0.6.7 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
classiccms-0.6.6 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
classiccms-0.6.5 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
classiccms-0.6.4 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
classiccms-0.6.3 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
classiccms-0.6.2 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
classiccms-0.6.1 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
classiccms-0.6.0 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb
classiccms-0.5.17 vendor/bundle/gems/redis-namespace-1.0.3/spec/spec_helper.rb