1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix typo in rails-ujs HTML content test

`</ps>` is not a valid closing tag for `<p>`.
This commit is contained in:
Raymond Zhou 2018-04-01 16:14:39 -04:00 committed by razh
parent 6b7a93d963
commit e06b672050

View file

@ -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')
})
})