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:
parent
6b7a93d963
commit
e06b672050
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ asyncTest('HTML content should be plain-text', 1, function() {
|
||||||
$('form').append('<input type="text" name="content" value="<p>hello</p>">')
|
$('form').append('<input type="text" name="content" value="<p>hello</p>">')
|
||||||
|
|
||||||
submit(function(e, data, status, xhr) {
|
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')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue