提交 e1c5d243 编写于 作者: G Gaurish Sharma

Revert "update doc, assert_template also accepts false"

This reverts commit 9b1c077c.

my bad.
`assert_template` only accepts a String, Symbol, Hash, Regexp or nil.

`false`(layout: false) is provided as a Hash.
上级 28bd4420
......@@ -170,7 +170,7 @@ def assert_template(options = {}, message = nil)
"Expected no partials to be rendered"
end
else
raise ArgumentError, "assert_template only accepts a String, Symbol, Hash, Regexp, nil or false"
raise ArgumentError, "assert_template only accepts a String, Symbol, Hash, Regexp, or nil"
end
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册