Sha256: eff84cd4c71db2f72e9fad4939ff795101fdff1f415d39128850163a2997f7a9

Contents?: true

Size: 520 Bytes

Versions: 2

Compression:

Stored size: 520 Bytes

Contents

if ENV['START_SIMPLECOV'].to_i == 1
  require 'simplecov'
  SimpleCov.start do
    add_filter "#{File.basename(File.dirname(__FILE__))}/"
  end
end

require 'active_record'
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'active_record/database_mutex'

ActiveRecord::Base.establish_connection(
  :adapter  => "mysql2",
  :database => ENV['DATABASE'] || "test",
  :username => ENV['USER'],
  :password => ENV['PASSWORD'],
  :host     => ENV['HOST'] || 'localhost'
)
require 'test/unit'
require 'byebug'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_record_mutex-2.5.1 test/test_helper.rb
active_record_mutex-2.5.0 test/test_helper.rb