spec/spec_helper.rb in redis-classy-0.9.1 vs spec/spec_helper.rb in redis-classy-1.0.0
- old
+ new
@@ -6,7 +6,8 @@
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
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)
end