Skip to content

Commit

Permalink
FLUID-5589: Simplified assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
jobara committed Jan 30, 2015
1 parent e11d50c commit 957d672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/framework-tests/preferences/js/PanelTestUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ https://github.com/fluid-project/infusion/raw/master/Infusion-LICENSE.txt
};

fluid.tests.panels.utils.verifyCheckboxState = function (message, expectedState, checkbox) {
jqUnit[expectedState ? "assertTrue" : "assertFalse"](message, checkbox.is(":checked"));
jqUnit.assertEquals(message, expectedState, checkbox.is(":checked"));
};

})();

0 comments on commit 957d672

Please sign in to comment.