Sha256: 997e0446e123748acaed4630e2b457e177dcaa6cbcb3fe5b73ab410fb0253aa9
Contents?: true
Size: 513 Bytes
Versions: 11
Compression:
Stored size: 513 Bytes
Contents
require 'rubygems' require 'test/unit' ENV['RAILS_ENV'] = 'test' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) gem 'rails' require 'rails' require 'active_record' require 'test_dummy' TestDummy::Railtie.apply! class Test::Unit::TestCase end module TestDummy class Application < Rails::Application config.active_support.deprecation = :warn end end TestDummy::Application.initialize! ActiveRecord::Base.establish_connection(Rails.env)
Version data entries
11 entries across 11 versions & 1 rubygems