mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-10 15:44:51 +02:00
update tests for popover to use proper classes
This commit is contained in:
8
js/tests/unit/bootstrap-popover.js
vendored
8
js/tests/unit/bootstrap-popover.js
vendored
@@ -47,8 +47,8 @@ $(function () {
|
||||
popover.popover('show')
|
||||
|
||||
ok($('.popover').length, 'popover was inserted')
|
||||
equals($('.popover .title').text(), '@fat', 'title correctly inserted')
|
||||
equals($('.popover .content').text(), 'loves writing tests (╯°□°)╯︵ ┻━┻', 'content correctly inserted')
|
||||
equals($('.popover .popover-title').text(), '@fat', 'title correctly inserted')
|
||||
equals($('.popover .popover-content').text(), 'loves writing tests (╯°□°)╯︵ ┻━┻', 'content correctly inserted')
|
||||
|
||||
popover.popover('hide')
|
||||
ok(!$('.popover').length, 'popover was removed')
|
||||
@@ -63,8 +63,8 @@ $(function () {
|
||||
.popover('show')
|
||||
|
||||
ok($('.popover').length, 'popover was inserted')
|
||||
equals($('.popover .title').text(), '@mdo', 'title correctly inserted')
|
||||
equals($('.popover .content').text(), "loves data attributes (づ。◕‿‿◕。)づ ︵ ┻━┻", 'content correctly inserted')
|
||||
equals($('.popover .popover-title').text(), '@mdo', 'title correctly inserted')
|
||||
equals($('.popover .popover-content').text(), "loves data attributes (づ。◕‿‿◕。)づ ︵ ┻━┻", 'content correctly inserted')
|
||||
|
||||
popover.popover('hide')
|
||||
ok(!$('.popover').length, 'popover was removed')
|
||||
|
Reference in New Issue
Block a user