aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-08-06 14:52:33 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-08-06 14:53:01 -0700
commitd082a9a2b803c2cf530c6b6bdb8a5c4f19f36982 (patch)
tree3e2b9e303c11d009ec10a16c19b80035aff643fc
parent12b3eca420c2de46d34a363c91b2263d366f4d6c (diff)
downloadrails-d082a9a2b803c2cf530c6b6bdb8a5c4f19f36982.tar.gz
rails-d082a9a2b803c2cf530c6b6bdb8a5c4f19f36982.tar.bz2
rails-d082a9a2b803c2cf530c6b6bdb8a5c4f19f36982.zip
sorry AR, my privates are none of your business
-rw-r--r--activerecord/test/cases/relations_test.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/test/cases/relations_test.rb b/activerecord/test/cases/relations_test.rb
index c9313fe7b6..02c8c60873 100644
--- a/activerecord/test/cases/relations_test.rb
+++ b/activerecord/test/cases/relations_test.rb
@@ -192,13 +192,6 @@ class RelationTest < ActiveRecord::TestCase
end
end
- def test_respond_to_private_arel_methods
- relation = Topic.scoped
-
- assert ! relation.respond_to?(:matching_attributes)
- assert relation.respond_to?(:matching_attributes, true)
- end
-
def test_respond_to_dynamic_finders
relation = Topic.scoped