Created
February 2, 2010 15:48
-
-
Save balinterdi/292757 to your computer and use it in GitHub Desktop.
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
Factory.define :reset_password do |reset_pw| | |
reset_pw.reset_code "d1b9547cb3ec99180acfe951c807ec567c8b9252" | |
reset_pw.association(:user) | |
end | |
Factory.define :user do |user| | |
user.login { Factory.next(:login) } | |
user.email { Factory.next(:email) } | |
user.first_name 'Balint' | |
user.last_name 'Erdi' | |
user.password 'dragons' | |
user.password_confirmation 'dragons' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment