aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorRaymond Zhou <razh@users.noreply.github.com>2018-04-01 16:14:39 -0400
committerrazh <razh@users.noreply.github.com>2018-04-01 16:21:22 -0400
commite06b67205072e39ac02e5467b71c600167fa9435 (patch)
treeafd92321196a00d0a079d5960fb564855b953195 /actionview
parent6b7a93d963d80686e9334faa80460bfde9099032 (diff)
downloadrails-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')
-rw-r--r--actionview/test/ujs/public/test/call-remote.js2
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')
})
})