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
15 lines
496 B
Ruby
15 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
|