Skip to content

Commit

Permalink
Set default user fixture confirmed
Browse files Browse the repository at this point in the history
Setting the moment of test run to be the confirmed_at datetime
  • Loading branch information
mauriciofierrom committed Dec 14, 2023
1 parent 608ca5b commit ba38590
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/fixtures/users.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
default:
email: [email protected]
confirmed_at: <%= Time.now %>
encrypted_password: <%= Devise::Encryptor.digest(User, '12345') %>

0 comments on commit ba38590

Please sign in to comment.