Skip to content

Commit

Permalink
needed to add fixtures for the tests to pass since Devise added some …
Browse files Browse the repository at this point in the history
…stuff
  • Loading branch information
jarodtaylor committed Sep 16, 2024
1 parent 15e01c7 commit e26b50d
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions test/fixtures/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,20 @@
# model remove the "{}" from the fixture names and add the columns immediately
# below each fixture, per the syntax in the comments below
#
one: {}
# column: value
#
two: {}
# column: value
one:
email: [email protected]
encrypted_password: <%= Devise::Encryptor.digest(User, 'password') %>
reset_password_token:
reset_password_sent_at:
remember_created_at:
created_at: <%= Time.now %>
updated_at: <%= Time.now %>

two:
email: [email protected]
encrypted_password: <%= Devise::Encryptor.digest(User, 'password') %>
reset_password_token:
reset_password_sent_at:
remember_created_at:
created_at: <%= Time.now %>
updated_at: <%= Time.now %>

0 comments on commit e26b50d

Please sign in to comment.