spec/spec_helper.rb in redis-objects-0.4.1 vs spec/spec_helper.rb in redis-objects-0.5.0
- old
+ new
@@ -1,13 +1,14 @@
require 'rubygems' # poor people still on 1.8
-
-$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
+gem 'redis', '>= 2.1.1'
require 'redis'
+$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
require 'bacon'
Bacon.summary_at_exit
$redis = Redis.new(:host => ENV['REDIS_HOST'], :port => ENV['REDIS_PORT'])
UNIONSTORE_KEY = 'test:unionstore'
INTERSTORE_KEY = 'test:interstore'
DIFFSTORE_KEY = 'test:diffstore'
+