mirror of
https://github.com/twbs/bootstrap.git
synced 2025-07-31 19:00:23 +02:00
fix unit test for twipsy
This commit is contained in:
4
js/tests/unit/bootstrap-twipsy.js
vendored
4
js/tests/unit/bootstrap-twipsy.js
vendored
@@ -30,10 +30,10 @@ $(function () {
|
|||||||
$.support.transition = false
|
$.support.transition = false
|
||||||
var twipsy = $('<a href="#" rel="twipsy" title="Another twipsy"></a>')
|
var twipsy = $('<a href="#" rel="twipsy" title="Another twipsy"></a>')
|
||||||
.appendTo('#qunit-fixture')
|
.appendTo('#qunit-fixture')
|
||||||
.twipsy({placement: 'below'})
|
.twipsy({placement: 'bottom'})
|
||||||
.twipsy('show')
|
.twipsy('show')
|
||||||
|
|
||||||
ok($(".twipsy").hasClass('fade below in'), 'has correct classes applied')
|
ok($(".twipsy").hasClass('fade bottom in'), 'has correct classes applied')
|
||||||
twipsy.twipsy('hide')
|
twipsy.twipsy('hide')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user