提交 88ff9fd2 编写于 作者: P Prathamesh Sonpatki

Fixed test for assert_welcome

 - Test was wrongly using assert with assignment statement.
上级 093e3e80
......@@ -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.
先完成此消息的编辑!
想要评论请 注册