Sha256: aceca15778cbcde8ff43e16e5dca5df9f475a791491d9354c3d426636fa12b0f

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

require 'rubygems'
require 'test/unit'
require 'shoulda'
require 'mocha'
require 'active_record'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'backgrounded'

config = YAML::load(IO.read(File.join(File.dirname(__FILE__), 'database.yml')))
ActiveRecord::Base.logger = Logger.new(File.join(File.dirname(__FILE__), "debug.log"))
ActiveRecord::Base.establish_connection(config[ENV['DB'] || 'sqlite'])

class Test::Unit::TestCase
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
backgrounded-0.7.1 test/test_helper.rb