From e06b67205072e39ac02e5467b71c600167fa9435 Mon Sep 17 00:00:00 2001 From: Raymond Zhou Date: Sun, 1 Apr 2018 16:14:39 -0400 Subject: [PATCH] Fix typo in rails-ujs HTML content test `` is not a valid closing tag for `

`. --- actionview/test/ujs/public/test/call-remote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('') submit(function(e, data, status, xhr) { - ok(data === '

hello', 'returned data should be a plain-text string') + ok(data === '

hello

', 'returned data should be a plain-text string') }) })