Sha256: 4b02c57d7e563e21a2bb942793b0351084cf7ca4fc55d9275d235f31f021b488
Contents?: true
Size: 383 Bytes
Versions: 64
Compression:
Stored size: 383 Bytes
Contents
require 'faker' FactoryGirl.define do factory :user do email { Faker::Internet.email } password "something" confirmed_at Time.now user_profile factory :admin_user do email 'admin@example.com' password 'something_admin' after(:build) do |user| user.add_role :admin end end end end
Version data entries
64 entries across 64 versions & 4 rubygems