From ce41d3fd159ce376b55413cef6e88fd658f4fd30 Mon Sep 17 00:00:00 2001 From: David Bailey Date: Tue, 29 Aug 2017 15:36:37 +0100 Subject: [PATCH 1/2] Add failing test --- js/tests/unit/modal.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js index 5b265df158..d22b818d26 100644 --- a/js/tests/unit/modal.js +++ b/js/tests/unit/modal.js @@ -349,6 +349,20 @@ $(function () { $toggleBtn.trigger('click') }) + QUnit.test('should adjust the inline padding of the modal when opening', function (assert) { + assert.expect(1) + var done = assert.async() + + $('