提交 cfd086a3 编写于 作者: S Santiago Pastorino

Merge pull request #2272 from cesario/fix_relations_test

Simplify the test by using id and name.
......@@ -963,6 +963,6 @@ def test_eager_loading_with_conditions_on_joins
end
def test_ordering_with_extra_spaces
assert_equal authors(:david), Author.order('organization_id ASC , owned_essay_id DESC').last
assert_equal authors(:david), Author.order('id DESC , name DESC').last
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册