Commit 031195d0 by Renzo Lucioni

Fix Jasmine test

parent cb5c03f0
......@@ -165,17 +165,17 @@ describe('edx.utils.validate', function () {
setFixtures(select);
dropdown = $('#dropdown');
field = $('#dropdown');
// Optional
expectValid();
// Required, default text selected
dropdown.attr('required', true);
field.attr('required', true);
expectInvalid(REQUIRED_ERROR_FRAGMENT);
// Required, country selected
dropdown.val('BE');
field.val('BE');
expectValid();
});
......
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