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 | |
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')
-rw-r--r-- | activerecord/CHANGELOG | 2 | ||||
-rwxr-xr-x | activerecord/lib/active_record/fixtures.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 6199895939..446bbec2ee 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Change fixture_path to a class inheritable accessor allowing test cases to have their own custom set of fixtures. #6672 [zdennis] + * Quote ActiveSupport::Multibyte::Chars. #6653 [Julian Tarkhanov] * Simplify query_attribute by typecasting the attribute value and checking whether it's nil, false, zero or blank. #6659 [Jonathan Viney] 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 |