Skip to content

Commit

Permalink
correct a unit test to the previous commit: surveyjs#657
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Telnov (DevExpress) authored and Andrew Telnov (DevExpress) committed Oct 16, 2017
1 parent a7ed039 commit d5ba1cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/choicesRestfulltests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ QUnit.test("choicesByUrl + clear value if it doesn't exists any more, #1", funct
question.onSurveyLoad();
assert.equal(question.value, "Algeria", "Value should not be changed, before choices were empty and value exists");
question.value = "Algeria1";
question.onSurveyLoad();
assert.equal(question.value, "Algeria1", "Value should not be changed, the value doesn't exists in choices before as well");
});

Expand Down

0 comments on commit d5ba1cf

Please sign in to comment.