diff options
| author | Chris Rebert <[email protected]> | 2013-07-26 01:34:58 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-07-26 01:34:58 -0700 |
| commit | 2910e3cb5a4fbefad4f16ecc5cf9a4385b9bd2cc (patch) | |
| tree | ee297e3ab097bd2f78c0457a8c781a987cfee00e /js/tests/unit/button.js | |
| parent | 2d585345196bb511ed2e6420610baa900ae48122 (diff) | |
| parent | a317f67c1cdc8e630fe18f5d48cfb582a0eda1de (diff) | |
| download | bootstrap-2910e3cb5a4fbefad4f16ecc5cf9a4385b9bd2cc.tar.xz bootstrap-2910e3cb5a4fbefad4f16ecc5cf9a4385b9bd2cc.zip | |
Merge pull request #8614 from cvrebert/grunt
Switch from `make` to `grunt`
Rebase of #7786 against soon-to-be 3.0.0-rc.1
Diffstat (limited to 'js/tests/unit/button.js')
| -rw-r--r-- | js/tests/unit/button.js | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/js/tests/unit/button.js b/js/tests/unit/button.js index 0f8988a7d..41ddb5c2f 100644 --- a/js/tests/unit/button.js +++ b/js/tests/unit/button.js @@ -40,14 +40,15 @@ $(function () { ok(btn.hasClass('disabled'), 'btn has disabled class') start() stop() + btn.button('reset') + equals(btn.html(), 'mdo', 'btn text equals mdo') + setTimeout(function () { + ok(!btn.attr('disabled'), 'btn is not disabled') + ok(!btn.hasClass('disabled'), 'btn does not have disabled class') + start() + }, 0) }, 0) - btn.button('reset') - equals(btn.html(), 'mdo', 'btn text equals mdo') - setTimeout(function () { - ok(!btn.attr('disabled'), 'btn is not disabled') - ok(!btn.hasClass('disabled'), 'btn does not have disabled class') - start() - }, 0) + }) test("should toggle active", function () { |
