Skip to content

Commit

Permalink
Updated seed data to include users
Browse files Browse the repository at this point in the history
  • Loading branch information
sdflem committed Nov 2, 2018
1 parent cfa4913 commit 379a096
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@
quiz_3.questions.build(question: 'T or F? Associations are denoted with boxes in class diagrams.', answer: 'F', distractor_1: 'T')
quiz_3.questions.build(question: 'T or F? The 1 multiplicity means exactly 1.', answer: 'T', distractor_1: 'F')
quiz_3.save!

user_1 = User.new(email: 'user1@email.com', password: 'dddddd')
user_1.save!

user_2 = User.new(email: 'user2@email.com', password: 'dddddd')
user_2.save!

0 comments on commit 379a096

Please sign in to comment.