Sha256: c9e97b340c8dcf2ebbfdbf554565317e8b6ec47a53be76f603dab4f5dcdf2bd6
Contents?: true
Size: 640 Bytes
Versions: 20
Compression:
Stored size: 640 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rbbt' require 'test/unit' require 'rbbt/util/log' require 'rbbt/util/tmpfile' require 'rbbt/resource/path' require 'fileutils' class Test::Unit::TestCase include FileUtils def setup Persist.cachedir = Rbbt.tmp.test.persistence.find :user end def teardown FileUtils.rm_rf Path.setup("", 'rbbt').tmp.test.find :user Persist::TC_CONNECTIONS.values.each do |c| c.close end Persist::TC_CONNECTIONS.clear end def datafile_test(file) File.join(File.dirname(__FILE__), 'data', file) end end
Version data entries
20 entries across 20 versions & 1 rubygems