spec/spec_helper.rb in redis-objects-0.2.0 vs spec/spec_helper.rb in redis-objects-0.2.1
- old
+ new
@@ -1,5 +1,7 @@
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
require 'redis'
-require 'redis/objects'
-Redis::Objects.redis = Redis.new(:host => ENV['REDIS_HOST'], :port => ENV['REDIS_PORT'])
+$redis = Redis.new(:host => ENV['REDIS_HOST'], :port => ENV['REDIS_PORT'])
+
+UNIONSTORE_KEY = 'test:unionstore'
+INTERSTORE_KEY = 'test:interstore'