DmitrS

user factory

May 11th, 2017
135
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data