mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix test_has_many_through_polymorphic_has_one on sqlite2 [#3054 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
This commit is contained in:
parent
cb3e669b0d
commit
7213da37ce
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ class AssociationsJoinModelTest < ActiveRecord::TestCase
|
|||
end
|
||||
|
||||
def test_has_many_through_polymorphic_has_one
|
||||
assert_equal Tagging.find(1,2), authors(:david).tagging
|
||||
assert_equal Tagging.find(1,2).sort_by { |t| t.id }, authors(:david).tagging
|
||||
end
|
||||
|
||||
def test_has_many_through_polymorphic_has_many
|
||||
|
|
Loading…
Reference in a new issue