diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-07-04 23:09:54 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-07-04 23:09:54 +0000 |
commit | 79455b6d45fc0568d4d5a55a95ae49faf2daefde (patch) | |
tree | 753d2495b858dbdbfa1e4f02aa3b5b0d11692a96 /actionpack/test/controller/active_record_store_test.rb | |
parent | 5ab1df9e376c21db9fd242a7144b7a7abc0d4c65 (diff) | |
download | rails-79455b6d45fc0568d4d5a55a95ae49faf2daefde.tar.gz rails-79455b6d45fc0568d4d5a55a95ae49faf2daefde.tar.bz2 rails-79455b6d45fc0568d4d5a55a95ae49faf2daefde.zip |
r2821@asus: jeremy | 2005-07-04 21:14:16 -0700
reuse path_to_ar
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller/active_record_store_test.rb')
-rw-r--r-- | actionpack/test/controller/active_record_store_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/active_record_store_test.rb b/actionpack/test/controller/active_record_store_test.rb index a17a4916e3..34b7448417 100644 --- a/actionpack/test/controller/active_record_store_test.rb +++ b/actionpack/test/controller/active_record_store_test.rb @@ -4,10 +4,10 @@ if Object.const_defined?(:ActiveRecord) or File.exist?(path_to_ar) begin # These tests exercise CGI::Session::ActiveRecordStore, so you're going to -# need AR in a sibling directory to AP and have SQLite3 installed. +# need AR in a sibling directory to AP and have SQLite installed. unless Object.const_defined?(:ActiveRecord) - require "#{File.dirname(__FILE__)}/../../../activerecord/lib/active_record" + require File.join(path_to_ar, 'lib', 'active_record') end require File.dirname(__FILE__) + '/../abstract_unit' |