aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuji Yaginuma <yuuji.yaginuma@gmail.com>2018-04-02 07:41:13 +0900
committerGitHub <noreply@github.com>2018-04-02 07:41:13 +0900
commit09b2348f7fc8d4e7191e70e06608c5909067e2aa (patch)
treeafd92321196a00d0a079d5960fb564855b953195
parent6b7a93d963d80686e9334faa80460bfde9099032 (diff)
parente06b67205072e39ac02e5467b71c600167fa9435 (diff)
downloadrails-09b2348f7fc8d4e7191e70e06608c5909067e2aa.tar.gz
rails-09b2348f7fc8d4e7191e70e06608c5909067e2aa.tar.bz2
rails-09b2348f7fc8d4e7191e70e06608c5909067e2aa.zip
Merge pull request #32407 from razh/fix-rails-ujs-html-content-test
Fix typo in rails-ujs HTML content test
-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')
})
})