diff options
| author | Starsam80 <[email protected]> | 2016-10-27 16:13:17 -0600 |
|---|---|---|
| committer | Starsam80 <[email protected]> | 2016-12-07 21:20:15 -0700 |
| commit | bf39bb3ac3d2aef4687b3cd4762015d5f218e2bc (patch) | |
| tree | 968d25a858633f88255e3cc6c923f07a7c44d36c /js/tests/unit/alert.js | |
| parent | ede925d79bf92d5983a4508c6ed6fda9310e1e8b (diff) | |
| download | bootstrap-bf39bb3ac3d2aef4687b3cd4762015d5f218e2bc.tar.xz bootstrap-bf39bb3ac3d2aef4687b3cd4762015d5f218e2bc.zip | |
Rename `.active` to `.show`
Diffstat (limited to 'js/tests/unit/alert.js')
| -rw-r--r-- | js/tests/unit/alert.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tests/unit/alert.js b/js/tests/unit/alert.js index 9548c3318..e078082c3 100644 --- a/js/tests/unit/alert.js +++ b/js/tests/unit/alert.js @@ -34,7 +34,7 @@ $(function () { QUnit.test('should fade element out on clicking .close', function (assert) { assert.expect(1) - var alertHTML = '<div class="alert alert-danger fade active">' + var alertHTML = '<div class="alert alert-danger fade show">' + '<a class="close" href="#" data-dismiss="alert">×</a>' + '<p><strong>Holy guacamole!</strong> Best check yo self, you\'re not looking too good.</p>' + '</div>' @@ -43,12 +43,12 @@ $(function () { $alert.find('.close').trigger('click') - assert.strictEqual($alert.hasClass('active'), false, 'remove .active class on .close click') + assert.strictEqual($alert.hasClass('show'), false, 'remove .show class on .close click') }) QUnit.test('should remove element when clicking .close', function (assert) { assert.expect(2) - var alertHTML = '<div class="alert alert-danger fade active">' + var alertHTML = '<div class="alert alert-danger fade show">' + '<a class="close" href="#" data-dismiss="alert">×</a>' + '<p><strong>Holy guacamole!</strong> Best check yo self, you\'re not looking too good.</p>' + '</div>' |
