rails/actionwebservice/test/abstract_unit.rb
Leon Breedt d01c44d550 fix bug in unit test causing spurious failures, and make sure the
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
2005-07-06 21:50:27 +00:00

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