diff options
author | Michael Koziarski <michael@koziarski.com> | 2006-11-21 22:28:24 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2006-11-21 22:28:24 +0000 |
commit | a2e826dc0f32647d8e4ae68214d717a5f3fc15df (patch) | |
tree | 7bd02a656fe973782f4f8d7726a0baac0bd30704 /activerecord/lib | |
parent | f5f3cdb1b6254366db66ba04a7b3232707229694 (diff) | |
download | rails-a2e826dc0f32647d8e4ae68214d717a5f3fc15df.tar.gz rails-a2e826dc0f32647d8e4ae68214d717a5f3fc15df.tar.bz2 rails-a2e826dc0f32647d8e4ae68214d717a5f3fc15df.zip |
Change fixture_path to a class inheritable accessor allowing test cases to have their own custom set of fixtures. Closes #6672 [zdennis]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5604 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-x | activerecord/lib/active_record/fixtures.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb index ae00db4e6d..06e39e0829 100755 --- a/activerecord/lib/active_record/fixtures.rb +++ b/activerecord/lib/active_record/fixtures.rb @@ -436,7 +436,7 @@ end module Test #:nodoc: module Unit #:nodoc: class TestCase #:nodoc: - cattr_accessor :fixture_path + class_inheritable_accessor :fixture_path class_inheritable_accessor :fixture_table_names class_inheritable_accessor :fixture_class_names class_inheritable_accessor :use_transactional_fixtures |