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

Merge pull request #32407 from razh/fix-rails-ujs-html-content-test

Fix typo in rails-ujs HTML content test
This commit is contained in:
Yuji Yaginuma 2018-04-02 07:41:13 +09:00 committed by GitHub
commit 09b2348f7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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