aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/tests/unit/collapse.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/tests/unit/collapse.js b/js/tests/unit/collapse.js
index 40f586c2e..8c01e57e8 100644
--- a/js/tests/unit/collapse.js
+++ b/js/tests/unit/collapse.js
@@ -41,11 +41,10 @@ $(function () {
})
QUnit.test('should hide a collapsed element', function (assert) {
- assert.expect(2)
+ assert.expect(1)
var $el = $('<div class="collapse"/>').bootstrapCollapse('hide')
assert.ok(!$el.hasClass('in'), 'does not have class "in"')
- assert.ok(/height/i.test($el.attr('style')), 'has height set')
})
QUnit.test('should not fire shown when show is prevented', function (assert) {