Commit 77d81bcd authored by Tyf0x's avatar Tyf0x

** Unit-test update **

-> Fixed a failure on test for #405 due to the code changes
parent a5c1ab46
...@@ -596,7 +596,7 @@ describe('Bootstrap Multiselect Specific Issues', function() { ...@@ -596,7 +596,7 @@ describe('Bootstrap Multiselect Specific Issues', function() {
selection.addRange(range); selection.addRange(range);
if (document.getSelection().type === 'Range') { if (document.getSelection().type === 'Range') {
$('#multiselect-container').find('a:first').trigger('click'); $('#multiselect-container').find('a:first label').trigger('click');
expect($('#multiselect-container').find('input:first').prop('checked')).toBe(true); expect($('#multiselect-container').find('input:first').prop('checked')).toBe(true);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment