diff options
| author | Chris Rebert <[email protected]> | 2015-02-24 23:49:08 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-02-24 23:49:08 -0800 |
| commit | 804457c474c686d4b5f45545da0dbad5ed56e387 (patch) | |
| tree | 2ca6897453d1531ef3ce6d1b347ccdd0bb429dcb | |
| parent | dd1a31a7deff5fe18f727452cec7c24e7f849e29 (diff) | |
| download | bootstrap-804457c474c686d4b5f45545da0dbad5ed56e387.tar.xz bootstrap-804457c474c686d4b5f45545da0dbad5ed56e387.zip | |
fix 2 typos in modal unit test assertion messages
| -rw-r--r-- | js/tests/unit/modal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/modal.js b/js/tests/unit/modal.js index e52b0ab40..f81621b79 100644 --- a/js/tests/unit/modal.js +++ b/js/tests/unit/modal.js @@ -164,7 +164,7 @@ $(function () { $('<div id="modal-test"><div class="contents"/></div>') .on('shown.bs.modal', function () { - assert.notEqual($('#modal-test').length, 0, 'modal insterted into dom') + assert.notEqual($('#modal-test').length, 0, 'modal inserted into dom') $('.contents').click() assert.ok($('#modal-test').is(':visible'), 'modal visible') $('#modal-test .modal-backdrop').click() @@ -201,7 +201,7 @@ $(function () { var div = $('<div id="modal-test"/>') div .on('shown.bs.modal', function () { - assert.ok($('#modal-test').length, 'modal insterted into dom') + assert.ok($('#modal-test').length, 'modal inserted into dom') assert.ok($('#modal-test').is(':visible'), 'modal visible') div.trigger($.Event('keyup', { which: 27 })) |
