3
active_record_version = ENV["ACTIVE_RECORD_VERSION"] || [">= 2.2.2"]
4
active_record_version = [active_record_version] unless active_record_version.is_a?(Array)
5
gem 'activerecord', *active_record_version
7
require 'active_record'
8
puts "Testing Against ActiveRecord #{ActiveRecord::VERSION::STRING}" if defined?(ActiveRecord::VERSION)
10
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'seamless_database_pool'))
11
require File.expand_path(File.join(File.dirname(__FILE__), 'test_model'))
13
$LOAD_PATH << File.expand_path("../test_adapter", __FILE__)