Remove commented out test
This commit is contained in:
parent
8090d8c1a3
commit
aaca3e6fdc
1 changed files with 0 additions and 16 deletions
|
|
@ -350,22 +350,6 @@ $(function () {
|
|||
assert.ok(!$._data($tooltip[0], 'events').mouseover && !$._data($tooltip[0], 'events').mouseout, 'tooltip does not have hover events')
|
||||
})
|
||||
|
||||
// QUnit.test('should show tooltip with delegate selector on click', function (assert) {
|
||||
// assert.expect(2)
|
||||
// var $div = $('<div><a href="#" rel="tooltip" title="Another tooltip"/></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)
|
||||
$('<a href="#" rel="tooltip" title="tooltip on toggle"/>')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue