mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-28 04:43:59 +00:00
fix unit test for twipsy
This commit is contained in:
parent
49fb910b11
commit
ea23461970
1 changed files with 2 additions and 2 deletions
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')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue