提交 79455b6d 编写于 作者: J Jeremy Kemper

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
上级 5ab1df9e
......@@ -4,10 +4,10 @@
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'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册