diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-05 13:32:06 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-05 13:32:06 +0000 |
commit | 9d755f19837da703d494ff4c59c39a0066bbd961 (patch) | |
tree | 8075d8ea3cfbdf9b873cf348dc95680cb4636fad /actionpack/test/activerecord | |
parent | f6d852665987142fb85ab26da9cc01f5d9b65d46 (diff) | |
download | rails-9d755f19837da703d494ff4c59c39a0066bbd961.tar.gz rails-9d755f19837da703d494ff4c59c39a0066bbd961.tar.bz2 rails-9d755f19837da703d494ff4c59c39a0066bbd961.zip |
require abstract_unit directly since test is in load path
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/activerecord')
-rw-r--r-- | actionpack/test/activerecord/active_record_store_test.rb | 3 | ||||
-rw-r--r-- | actionpack/test/activerecord/render_partial_with_record_identification_test.rb | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/actionpack/test/activerecord/active_record_store_test.rb b/actionpack/test/activerecord/active_record_store_test.rb index 61900ac252..fd7da89aa7 100644 --- a/actionpack/test/activerecord/active_record_store_test.rb +++ b/actionpack/test/activerecord/active_record_store_test.rb @@ -1,9 +1,8 @@ # These tests exercise CGI::Session::ActiveRecordStore, so you're going to # need AR in a sibling directory to AP and have SQLite installed. -require File.dirname(__FILE__) + '/../active_record_unit' +require 'active_record_unit' require 'action_controller/session/active_record_store' - module CommonActiveRecordStoreTests def test_basics s = session_class.new(:session_id => '1234', :data => { 'foo' => 'bar' }) diff --git a/actionpack/test/activerecord/render_partial_with_record_identification_test.rb b/actionpack/test/activerecord/render_partial_with_record_identification_test.rb index ccebbefead..1cfd2a2354 100644 --- a/actionpack/test/activerecord/render_partial_with_record_identification_test.rb +++ b/actionpack/test/activerecord/render_partial_with_record_identification_test.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../active_record_unit' +require 'active_record_unit' class RenderPartialWithRecordIdentificationTest < ActiveRecordTestCase fixtures :developers, :projects, :developers_projects, :topics, :replies |