update fixtures and tests to include second department/quiz

This commit is contained in:
Mark Moser
2017-05-04 07:49:10 -05:00
parent 255e430abd
commit 47054265c8
10 changed files with 212 additions and 8 deletions

View File

@ -14,7 +14,7 @@ class ReviewerVoteTest < ActiveSupport::TestCase
test "manager has a vote for every completed quiz" do
manager = users(:manager)
completed_count = Candidate.where(completed: true).count
completed_count = 6
assert_equal completed_count, manager.votes.size
end