spec/spec_helper.rb in split-export-0.3.0 vs spec/spec_helper.rb in split-export-1.0.0
- old
+ new
@@ -1,4 +1,12 @@
require 'rubygems'
require 'bundler/setup'
require 'split'
-require 'split/export'
\ No newline at end of file
+require 'split/export'
+
+RSpec.configure do |config|
+ config.order = 'random'
+ config.before(:each) do
+ Split.configuration = Split::Configuration.new
+ Split.redis.flushall
+ end
+end