提交 1e69f0b8 编写于 作者: V Vishnu Atrai

remove deprication warning: ambiguous first argument; put parentheses or even spaces

上级 64807b96
......@@ -1867,6 +1867,6 @@ def test_cache_key_format_for_existing_record_with_updated_at
def test_cache_key_format_for_existing_record_with_nil_updated_at
dev = Developer.first
dev.update_attribute(:updated_at, nil)
assert_match /\/#{dev.id}$/, dev.cache_key
assert_match(/\/#{dev.id}$/, dev.cache_key)
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册