Sha256: 978e42db996981134f5ecd5da9442e6e412c7bdcb43c500702bf01e0894b5a5d

Contents?: true

Size: 486 Bytes

Versions: 1

Compression:

Stored size: 486 Bytes

Contents

if ENV.key?('CODECLIMATE_REPO_TOKEN')
  require "codeclimate-test-reporter"
  CodeClimate::TestReporter.start
end

$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'active_record'
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

1 entries across 1 versions & 1 rubygems

Version Path
active_record_mutex-2.0.0 test/test_helper.rb