Advertisement
DmitrS

user factory

May 11th, 2017
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. FactoryGirl.define do
  2. factory :user do
  3. name { Faker::Name.name }
  4. email { Faker::Internet.email }
  5. password 'swordfish'
  6. password_confirmation 'swordfish'
  7. end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement