Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # By using the symbol ':user', we get Factory Girl to simulate the User model.
- FactoryGirl.define :user do |user|
- user.name "Michael Hartl"
- user.email "mhartl@example.com"
- user.password "foobar"
- user.password_confirmation "foobar"
- end
Add Comment
Please, Sign In to add comment