Sha256: f010ef798b06a53482765cc6b8e86c1c1208c3239abda647241c4ded926fcf42
Contents?: true
Size: 636 Bytes
Versions: 5
Compression:
Stored size: 636 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'lawnchair' require 'spec' require 'spec/autorun' require 'active_record_extension' 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
lawnchair-0.6.11 | spec/spec_helper.rb |
lawnchair-0.6.10 | spec/spec_helper.rb |
lawnchair-0.6.9 | spec/spec_helper.rb |
lawnchair-0.6.8 | spec/spec_helper.rb |
lawnchair-0.6.7 | spec/spec_helper.rb |