Sha256: 8987cd18dfaeb63bc7421a2275e9b168b671668b863636366c28c33df8708855
Contents?: true
Size: 385 Bytes
Versions: 5
Compression:
Stored size: 385 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. Redis::Classy.db = Redis.new(:db => 15) unless Redis::Classy.keys.empty? puts '[ERROR]: Redis database 15 not empty! If you are sure, run "rake flushdb" beforehand.' exit! end end
Version data entries
5 entries across 5 versions & 1 rubygems