spec/spec_helper.rb in redis-classy-2.0.0 vs spec/spec_helper.rb in redis-classy-2.1.0

- old
+ new

@@ -6,9 +6,8 @@ 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? - puts '[ERROR]: Redis database 15 not empty! If you are sure, run "rake flushdb" beforehand.' - exit! + abort '[ERROR]: Redis database 15 not empty! If you are sure, run "rake flushdb" beforehand.' end end