diff --git a/js/tests/unit/tooltip.js b/js/tests/unit/tooltip.js index 8b7287534a93..b859f53cbe7e 100644 --- a/js/tests/unit/tooltip.js +++ b/js/tests/unit/tooltip.js @@ -352,22 +352,6 @@ $(function () { assert.strictEqual(typeof $._data($tooltip[0], 'events').mouseout, 'undefined', 'tooltip does not have mouseout event') }) - // QUnit.test('should show tooltip with delegate selector on click', function (assert) { - // assert.expect(2) - // var $div = $('
') - // .appendTo('#qunit-fixture') - // .bootstrapTooltip({ - // selector: 'a[rel="tooltip"]', - // trigger: 'click' - // }) - - // $div.find('a').trigger('click') - // assert.true($('.tooltip').is('.fade.in'), 'tooltip is faded in') - - // $div.find('a').trigger('click') - // assert.strictEqual($div.data('bs.tooltip').tip.parentNode, null, 'tooltip removed') - // }) - QUnit.test('should show tooltip when toggle is called', function (assert) { assert.expect(1) $('')