worker tests
This commit is contained in:
1 parent
de7ce04615
commit
f44b11fde8
3 files changed
+17
-2
No files matched your search
@@ -6,7 +6,8 @@ class CandidateQuiz
|
||||
end
|
||||
|
||||
def fetch_question qid
|
||||
raw_quiz(qid).each_with_object([]) { |row, quiz| quiz << CandidateQuizQuestion.new(row) }
|
||||
questions = raw_quiz(qid).each_with_object([]) { |row, quiz| quiz << CandidateQuizQuestion.new(row) }
|
||||
questions.first
|
||||
end
|
||||
|
||||
def build_my_quiz
|
||||
|
||||
Reference in new issue
Block a user