Sha256: 5f64c613ac17c231621ed0a4a903e5315c26ac44a5b836f3964034731d5334a5
Contents?: true
Size: 634 Bytes
Versions: 12
Compression:
Stored size: 634 Bytes
Contents
if ENV.key?('CODECLIMATE_REPO_TOKEN') require "codeclimate-test-reporter" CodeClimate::TestReporter.start end 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
12 entries across 12 versions & 1 rubygems