提交 162e2859 编写于 作者: C Cédric FABIANSKI 提交者: Rafael Mendonça França

[#8743] Test case

- Reverting #a3cf03ef fixes the issue

Conflicts:
	activerecord/test/cases/relations_test.rb
上级 28fd867c
......@@ -745,6 +745,11 @@ def test_relation_merging_with_association
end
end
def test_relation_to_sql
sql = Post.first.comments.to_sql
assert_no_match(/\?/, sql)
end
def test_count
posts = Post.all
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册