diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js index 5b265df158..3611dfdf11 100644 --- a/js/tests/unit/modal.js +++ b/js/tests/unit/modal.js @@ -391,6 +391,25 @@ $(function () { .bootstrapModal('show') }) + QUnit.test('should not adjust the inline body padding when it does not overflow', function (assert) { + assert.expect(1) + var done = assert.async() + var $body = $(document.body) + var originalPadding = $body.css('padding-right') + + $('#qunit-container').hide() + $('