Sha256: 81e02dc202a9a0232a3fb6fce2e4f22684f00577674be85b9d74780cb3d2d920

Contents?: true

Size: 755 Bytes

Versions: 10

Compression:

Stored size: 755 Bytes

Contents

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
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'

Backgrounded.logger.level = Logger::DEBUG

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

10 entries across 10 versions & 2 rubygems

Version Path
backgrounded-2.0.0 test/test_helper.rb
backgrounded-0.7.5 test/test_helper.rb
backgrounded-2.0.0.rc2 test/test_helper.rb
backgrounded-2.0.0.rc1 test/test_helper.rb
backgrounded-2.0.0.pre2 test/test_helper.rb
backgrounded-resque-2.0.0.pre1 test/test_helper.rb
backgrounded-2.0.0.pre1 test/test_helper.rb
backgrounded-0.7.4 test/test_helper.rb
backgrounded-0.7.3 test/test_helper.rb
backgrounded-0.7.2 test/test_helper.rb