提交 1303288b 编写于 作者: R Richard Schneeman

Merge pull request #18567 from prathamesh-sonpatki/fix-assert-welcome-test

 Fixed test for assert_welcome
......@@ -69,7 +69,8 @@ def get(path)
def assert_welcome(resp)
assert_equal 200, resp[0]
assert resp[1]["Content-Type"] = "text/html"
assert_match 'text/html', resp[1]["Content-Type"]
assert_match 'charset=utf-8', resp[1]["Content-Type"]
assert extract_body(resp).match(/Welcome aboard/)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册