mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
d01c44d550
unit test requires the Rails libraries from *Source Control* first, or we'll get false positives. add ActiveRecord require to abstract_unit.rb. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1742 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
14 lines
496 B
Ruby
14 lines
496 B
Ruby
ENV["RAILS_ENV"] = "test"
|
|
$:.unshift(File.dirname(__FILE__) + '/../lib')
|
|
$:.unshift(File.dirname(__FILE__) + '/../../activesupport/lib')
|
|
$:.unshift(File.dirname(__FILE__) + '/../../actionpack/lib')
|
|
$:.unshift(File.dirname(__FILE__) + '/../../activerecord/lib')
|
|
|
|
require 'test/unit'
|
|
require 'active_record'
|
|
require 'action_web_service'
|
|
require 'action_controller'
|
|
require 'action_controller/test_process'
|
|
|
|
ActionController::Base.logger = nil
|
|
ActionController::Base.ignore_missing_templates = true
|