spec/spec_helper.rb in split-export-1.0.0 vs spec/spec_helper.rb in split-export-1.1.0

- old
+ new

@@ -1,12 +1,16 @@ require 'rubygems' require 'bundler/setup' require 'split' require 'split/export' +require 'fakeredis' +fakeredis = Redis.new + RSpec.configure do |config| config.order = 'random' config.before(:each) do Split.configuration = Split::Configuration.new + Split.redis = fakeredis Split.redis.flushall end end