提交 45d059b4 编写于 作者: I Ivan Kukobko

fixed typo in word finiding

上级 08a5b10e
......@@ -133,7 +133,7 @@ def test_reload
assert topics.loaded?
end
def test_finiding_with_subquery
def test_finding_with_subquery
relation = Topic.where(:approved => true)
assert_equal relation.to_a, Topic.select('*').from(relation).to_a
assert_equal relation.to_a, Topic.select('subquery.*').from(relation).to_a
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册