Sha256: db61fd2fd2f40619d84cc2bf21306139ec8467e030e6198bd839ca020ce183d1
Contents?: true
Size: 403 Bytes
Versions: 5
Compression:
Stored size: 403 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::Mutex.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