aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2017-09-20 13:32:16 +0200
committerXhmikosR <[email protected]>2019-02-20 22:05:45 +0200
commitbcbea028861c110a33ebb1add90813c632baf7b3 (patch)
treefce044f44e4ac8bb17912518da9aa8763a7f1d99
parent69e4d4f3ac897870e8186e22b19c5adf6043f3d4 (diff)
downloadbootstrap-bcbea028861c110a33ebb1add90813c632baf7b3.tar.xz
bootstrap-bcbea028861c110a33ebb1add90813c632baf7b3.zip
fix unit test modal
-rw-r--r--js/tests/unit/modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js
index cfac27bba..7aa7a95b3 100644
--- a/js/tests/unit/modal.js
+++ b/js/tests/unit/modal.js
@@ -549,7 +549,7 @@ $(function () {
$('<div id="modal-test"/>')
.on('hidden.bs.modal', function () {
- assert.strictEqual($body.attr('style').indexOf('padding-right'), -1, 'body does not have inline padding set')
+ assert.strictEqual($body.css('padding-left'), '0px', 'body does not have inline padding set')
$style.remove()
done()
})