From 21571b3412545881f1127e83c82f8456732961c8 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 8 Jul 2014 14:39:35 -0700 Subject: [PATCH] Fix invalid HTML in "should allow html entities" tooltip unit test Refs #14090. Also, fix one typo. --- js/tests/unit/tooltip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/tests/unit/tooltip.js b/js/tests/unit/tooltip.js index a266b96eab..4cecf9348e 100644 --- a/js/tests/unit/tooltip.js +++ b/js/tests/unit/tooltip.js @@ -92,7 +92,7 @@ $(function () { }) test('should allow html entities', function () { - var $tooltip = $('') + var $tooltip = $('') .appendTo('#qunit-fixture') .bootstrapTooltip({ html: true }) @@ -513,7 +513,7 @@ $(function () { }) $tooltip.bootstrapTooltip('show') - equal($('.tooltip').children('.tooltip-inner').text(), 'Simple tooltip', 'title is set from title attribute while prefered over title option') + equal($('.tooltip').children('.tooltip-inner').text(), 'Simple tooltip', 'title is set from title attribute while preferred over title option') $tooltip.bootstrapTooltip('hide') equal($('.tooltip').length, 0, 'tooltip removed from dom')