From 30d8cdf6398f05a58afa303ac324201d08744b90 Mon Sep 17 00:00:00 2001 From: Kevin Kirsche Date: Tue, 24 Feb 2015 15:28:57 -0500 Subject: [PATCH] Add tests for aria-hidden of modal Add tests for `aria-hidden` of modal Use strictEqual of 1 here instead of 2 asserts --- js/tests/unit/modal.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js index 42f9b6f992..e52b0ab40b 100644 --- a/js/tests/unit/modal.js +++ b/js/tests/unit/modal.js @@ -44,6 +44,17 @@ $(function () { .bootstrapModal('show') }) + QUnit.test('should set aria-hidden to false when show method is called', function (assert) { + var done = assert.async() + + $('