Sha256: 3432df6f59f486ef0a16f5545afc454f2cff134af09d5e84b77f65d1013990fe
Contents?: true
Size: 604 Bytes
Versions: 7
Compression:
Stored size: 604 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'lawnchair' require 'spec' require 'spec/autorun' Spec::Runner.configure do |config| config.before(:all) { Lawnchair.connectdb(Redis.new(:db => 11)) } config.before(:each) do Lawnchair.flushdb abstract_store = Lawnchair::StorageEngine::Abstract abstract_store.data_store.keys.each {|k| abstract_store.data_store.delete(k)} in_process = Lawnchair::StorageEngine::InProcess in_process.data_store.keys.each {|k| in_process.data_store.delete(k)} end end
Version data entries
7 entries across 7 versions & 1 rubygems