aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/active_record_store_test.rb4
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'