We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2422a4 commit dcecb49Copy full SHA for dcecb49
test/cadet/assessments/assessments_test.exs
@@ -435,10 +435,11 @@ defmodule Cadet.AssessmentsTest do
435
unassigned_voting_questions = Assessments.fetch_unassigned_voting_questions()
436
assert Enum.count(unassigned_voting_questions) == 2
437
438
- assert Enum.map(unassigned_voting_questions, fn q -> q.question_id end) == [
439
- closed_question.id,
440
- open_question.id
441
- ]
+ unassigned_voting_question_ids =
+ Enum.map(unassigned_voting_questions, fn q -> q.question_id end)
+
+ assert closed_question.id in unassigned_voting_question_ids
442
+ assert open_question.id in unassigned_voting_question_ids
443
444
Assessments.update_final_contest_entries()
445
0 commit comments