Created
January 14, 2014 14:06
-
-
Save clarkbw/8418809 to your computer and use it in GitHub Desktop.
Devise user fixture for testing rails with users. confirm* items are only required if you've set :confirmable in your model.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bryan: | |
email: [email protected] | |
encrypted_password: <%= User.new.send(:password_digest, '1234567890') %> | |
confirmed_at: <%= Time.zone.now - 1.hour %> | |
confirmation_sent_at: <%= Time.zone.now - 2.hours %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment