Skip to content

Commit

Permalink
try to reproduce errors from mislav#220, mislav#223; no success
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Oct 7, 2008
1 parent 7e3a90b commit de98ac9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/finder_test.rb
Expand Up @@ -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

0 comments on commit de98ac9

Please sign in to comment.