Sha256: 308187d3a74b9bd5b8af9de2e70499cf58eadf3a987986ae585ea70c7588b383

Contents?: true

Size: 863 Bytes

Versions: 5

Compression:

Stored size: 863 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib')) # make requiring from test/lib easy

require 'fileutils'
require 'rubygems'
require 'thread'
require 'bundler/setup'
Bundler.require
require 'test/unit' # required by ActiveSupport::TestCase
require 'active_support/test_case'

require 'mock_rails'
require 'blueprint'
require 'add_query_counting_to_active_record'

require 'will_paginate/version'
if WillPaginate::VERSION::MAJOR < 3
  WillPaginate.enable_activerecord
else
  require 'will_paginate/collection'
  require 'will_paginate/finders/active_record'
  WillPaginate::Finders::ActiveRecord.enable!
end

AridCache.framework.init
Blueprint.seeds

ActiveRecord::Base.logger && ActiveRecord::Base.logger.info("#{"="*25} RUNNING UNIT TESTS #{"="*25}\n\t\t\t#{Time.now.to_s}\n#{"="*70}")
Array.class_eval { alias count size } if RUBY_VERSION < '1.8.7'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arid_cache-1.4.4 test/test_helper.rb
arid_cache-1.4.3 test/test_helper.rb
arid_cache-1.4.2 test/test_helper.rb
arid_cache-1.4.1 test/test_helper.rb
arid_cache-1.4.0 test/test_helper.rb