Sha256: df09b53da41f771b2d420c2451e47426c63ad43c79da7400acb6fea52aad5d50
Contents?: true
Size: 372 Bytes
Versions: 3
Compression:
Stored size: 372 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'rspec' require 'redis-mutex' RSpec.configure do |config| # Use database 15 for testing so we don't accidentally step on you real data. RedisClassy.redis = Redis.new(db: 15) unless RedisClassy.keys.empty? abort '[ERROR]: Redis database 15 not empty! If you are sure, run "rake flushdb" beforehand.' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
redis-mutex-4.0.2 | spec/spec_helper.rb |
redis-mutex-4.0.1 | spec/spec_helper.rb |
redis-mutex-4.0.0 | spec/spec_helper.rb |