From de98ac9e7c451f204e2c5ba3158d274818ac9b36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Tue, 7 Oct 2008 13:14:16 +0200 Subject: [PATCH] try to reproduce errors from #220, #223; no success --- test/finder_test.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/finder_test.rb b/test/finder_test.rb index 8c601997f..38ef56528 100644 --- a/test/finder_test.rb +++ b/test/finder_test.rb @@ -461,5 +461,16 @@ def test_paginate_from result = Developer.paginate(:from => 'users', :page => 1, :per_page => 1) assert_equal 1, result.size end + + def test_hmt_with_include + # ticket #220 + reply = projects(:active_record).replies.find(:first, :order => 'replies.id') + assert_equal replies(:decisive), reply + + # ticket #223 + Project.find(1, :include => :replies) + + # I cannot reproduce any of the failures from those reports :( + end end end