提交 0061496d 编写于 作者: J José Valim

Merge pull request #5489 from rdavila/fix_typo_activerecord_test

Fix typo in ActiveRecord::Relation#blank? test
......@@ -1238,7 +1238,7 @@ def test_automatically_added_order_references
def test_presence
topics = Topic.scoped
# the fist query is triggered because there are no topics yet.
# the first query is triggered because there are no topics yet.
assert_queries(1) { assert topics.present? }
# checking if there are topics is used before you actually display them,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册