Permalink
Browse files

Add password and password_confirmation attrs to UserFactory

  • Loading branch information...
1 parent cb1237d commit d78ea6b9b63345f062cf5676072b6410874f38a4 @jomz jomz committed Feb 24, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 spec/factories/user_factory.rb
View
2 spec/factories/user_factory.rb
@@ -3,6 +3,8 @@
name 'User'
email 'email@test.com'
login 'user'
+ password 'coolness'
+ password_confirmation { password }
factory :admin do
name 'Admin'

0 comments on commit d78ea6b

Please sign in to comment.