Commit 031195d0 by Renzo Lucioni

Fix Jasmine test

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