worker tests

This commit is contained in:
Mark Moser committed 2016-08-16 14:19:45 -05:00
1 parent de7ce04615
commit f44b11fde8
3 files changed
+17 -2

No files matched your search

+2 -1
View File
@@ -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