aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2010-10-13 11:56:15 +0100
committerAaron Patterson <aaron.patterson@gmail.com>2010-10-13 08:24:19 -0700
commit076b75bf9897cd06d3f849aba36dff65e12940ca (patch)
tree56a47ceb21a46a6ebaa61c33abe6af130502e170 /activerecord/test/models
parent603406dc53b656f7f317fe2ac6c4bac616a86368 (diff)
downloadrails-076b75bf9897cd06d3f849aba36dff65e12940ca.tar.gz
rails-076b75bf9897cd06d3f849aba36dff65e12940ca.tar.bz2
rails-076b75bf9897cd06d3f849aba36dff65e12940ca.zip
Add some tests for functionality in JoinAssociation which already exists but was previously untested
Diffstat (limited to 'activerecord/test/models')
-rw-r--r--activerecord/test/models/comment.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/models/comment.rb b/activerecord/test/models/comment.rb
index 9f6e2d3b71..88061b2145 100644
--- a/activerecord/test/models/comment.rb
+++ b/activerecord/test/models/comment.rb
@@ -23,6 +23,9 @@ class SpecialComment < Comment
end
end
+class SubSpecialComment < SpecialComment
+end
+
class VerySpecialComment < Comment
def self.what_are_you
'a very special comment...'