提交 e06b6720 编写于 作者: R Raymond Zhou 提交者: razh

Fix typo in rails-ujs HTML content test

`</ps>` is not a valid closing tag for `<p>`.
上级 6b7a93d9
......@@ -135,7 +135,7 @@ asyncTest('HTML content should be plain-text', 1, function() {
$('form').append('<input type="text" name="content" value="<p>hello</p>">')
submit(function(e, data, status, xhr) {
ok(data === '<p>hello</ps>', 'returned data should be a plain-text string')
ok(data === '<p>hello</p>', 'returned data should be a plain-text string')
})
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册