diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-05 13:26:59 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-05 13:31:31 -0200 |
commit | 679902b916098667dec04e3a47011d244af3056a (patch) | |
tree | afd6d6036a91f88054237dff2bf3afadd4c787ef | |
parent | abe300a424b422e5dffe5852dac9577bd2742b06 (diff) | |
download | rails-679902b916098667dec04e3a47011d244af3056a.tar.gz rails-679902b916098667dec04e3a47011d244af3056a.tar.bz2 rails-679902b916098667dec04e3a47011d244af3056a.zip |
Remove private API test
-rw-r--r-- | activerecord/test/cases/base_test.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb index cdcc0062b1..2d6979238e 100644 --- a/activerecord/test/cases/base_test.rb +++ b/activerecord/test/cases/base_test.rb @@ -78,16 +78,6 @@ end class BasicsTest < ActiveRecord::TestCase fixtures :topics, :companies, :developers, :projects, :computers, :accounts, :minimalistics, 'warehouse-things', :authors, :categorizations, :categories, :posts - def test_generated_methods_modules - modules = Computer.ancestors - assert modules.include?(Computer::GeneratedFeatureMethods) - assert_equal(Computer::GeneratedFeatureMethods, Computer.generated_feature_methods) - assert(modules.index(Computer.generated_attribute_methods) > modules.index(Computer.generated_feature_methods), - "generated_attribute_methods must be higher in inheritance hierarchy than generated_feature_methods") - assert_not_equal Computer.generated_feature_methods, Post.generated_feature_methods - assert(modules.index(Computer.generated_attribute_methods) < modules.index(ActiveRecord::Base.ancestors[1])) - end - def test_column_names_are_escaped conn = ActiveRecord::Base.connection classname = conn.class.name[/[^:]*$/] |