aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/test/abstract_unit.rb
diff options
context:
space:
mode:
authorLeon Breedt <bitserf@gmail.com>2005-07-06 21:50:27 +0000
committerLeon Breedt <bitserf@gmail.com>2005-07-06 21:50:27 +0000
commitd01c44d550998190108ee31647e42393a65b6469 (patch)
tree98f296e2b06c50fbf2ae9ce17750c3f0f74ae453 /actionwebservice/test/abstract_unit.rb
parente5b86efea929e7ebe09317d20c6cc33a1042aeec (diff)
downloadrails-d01c44d550998190108ee31647e42393a65b6469.tar.gz
rails-d01c44d550998190108ee31647e42393a65b6469.tar.bz2
rails-d01c44d550998190108ee31647e42393a65b6469.zip
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
Diffstat (limited to 'actionwebservice/test/abstract_unit.rb')
-rw-r--r--actionwebservice/test/abstract_unit.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionwebservice/test/abstract_unit.rb b/actionwebservice/test/abstract_unit.rb
index cbeda66e90..a57299bea0 100644
--- a/actionwebservice/test/abstract_unit.rb
+++ b/actionwebservice/test/abstract_unit.rb
@@ -1,7 +1,11 @@
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'