diff options
author | José Valim <jose.valim@gmail.com> | 2010-06-19 17:15:21 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-19 17:15:21 +0200 |
commit | 033e0a041f10ef4d4aa8ebb576560df20b971026 (patch) | |
tree | dca40d5fd673a6cc81105ee43cb2b85d2b20987f /activerecord/test | |
parent | a2b7fcb07ca47ca2285dee2afe97050532e94d07 (diff) | |
download | rails-033e0a041f10ef4d4aa8ebb576560df20b971026.tar.gz rails-033e0a041f10ef4d4aa8ebb576560df20b971026.tar.bz2 rails-033e0a041f10ef4d4aa8ebb576560df20b971026.zip |
ActiveRecord and ActionPack now use the new descendants implementation.
Diffstat (limited to 'activerecord/test')
-rwxr-xr-x | activerecord/test/cases/base_test.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb index 5c175de6d4..7c74d87b61 100755 --- a/activerecord/test/cases/base_test.rb +++ b/activerecord/test/cases/base_test.rb @@ -2076,10 +2076,6 @@ class BasicsTest < ActiveRecord::TestCase assert !SubStiPost.descends_from_active_record? end - def test_base_subclasses_is_public_method - assert ActiveRecord::Base.public_methods.map(&:to_sym).include?(:subclasses) - end - def test_find_on_abstract_base_class_doesnt_use_type_condition old_class = LooseDescendant Object.send :remove_const, :LooseDescendant |