diff options
| author | Patrick H. Lauke <[email protected]> | 2015-04-11 19:24:21 +0200 |
|---|---|---|
| committer | Patrick H. Lauke <[email protected]> | 2015-04-11 19:24:21 +0200 |
| commit | 66d71136e668cf7bc8a311299fad9b773b76285a (patch) | |
| tree | 565acda2a5281a3f4d0dee779cf7ed635863cbe3 | |
| parent | 1b9baa0d98019eba187e65102959fff60d06538a (diff) | |
| download | bootstrap-66d71136e668cf7bc8a311299fad9b773b76285a.tar.xz bootstrap-66d71136e668cf7bc8a311299fad9b773b76285a.zip | |
Fix existing radio button unit test
| -rw-r--r-- | js/tests/unit/button.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/button.js b/js/tests/unit/button.js index 02312ebaf..ed7b248d4 100644 --- a/js/tests/unit/button.js +++ b/js/tests/unit/button.js @@ -167,13 +167,13 @@ $(function () { assert.ok(!$btn2.find('input').prop('checked'), 'btn2 is not checked') $btn2.find('input').trigger('click') assert.ok(!$btn1.hasClass('active'), 'btn1 does not have active class') - assert.ok(!$btn1.find('input').prop('checked'), 'btn1 is checked') + assert.ok(!$btn1.find('input').prop('checked'), 'btn1 is not checked') assert.ok($btn2.hasClass('active'), 'btn2 has active class') assert.ok($btn2.find('input').prop('checked'), 'btn2 is checked') $btn2.find('input').trigger('click') // clicking an already checked radio should not un-check it assert.ok(!$btn1.hasClass('active'), 'btn1 does not have active class') - assert.ok(!$btn1.find('input').prop('checked'), 'btn1 is checked') + assert.ok(!$btn1.find('input').prop('checked'), 'btn1 is not checked') assert.ok($btn2.hasClass('active'), 'btn2 has active class') assert.ok($btn2.find('input').prop('checked'), 'btn2 is checked') }) |
