diff options
author | Raymond Zhou <razh@users.noreply.github.com> | 2018-04-01 16:14:39 -0400 |
---|---|---|
committer | razh <razh@users.noreply.github.com> | 2018-04-01 16:21:22 -0400 |
commit | e06b67205072e39ac02e5467b71c600167fa9435 (patch) | |
tree | afd92321196a00d0a079d5960fb564855b953195 /actionview/test | |
parent | 6b7a93d963d80686e9334faa80460bfde9099032 (diff) | |
download | rails-e06b67205072e39ac02e5467b71c600167fa9435.tar.gz rails-e06b67205072e39ac02e5467b71c600167fa9435.tar.bz2 rails-e06b67205072e39ac02e5467b71c600167fa9435.zip |
Fix typo in rails-ujs HTML content test
`</ps>` is not a valid closing tag for `<p>`.
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/ujs/public/test/call-remote.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/ujs/public/test/call-remote.js b/actionview/test/ujs/public/test/call-remote.js index 8a88471982..e5277a2a03 100644 --- a/actionview/test/ujs/public/test/call-remote.js +++ b/actionview/test/ujs/public/test/call-remote.js @@ -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') }) }) |