Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Updating the Test to Cover All the Valid McQuestion Fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
sdflem committed Feb 8, 2020
1 parent 877c1ba commit a52ca11
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/models/mc_question_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
class McQuestionTest < ActiveSupport::TestCase

test "fixtures are valid" do
q = mc_questions(:one)
assert q.valid?, q.errors.full_messages.inspect
mc_questions.each do |q|
assert q.valid?, q.errors.full_messages.inspect
end
end

end

0 comments on commit a52ca11

Please sign in to comment.