Sha256: 6c1e62f41bc37169e6760d232862edad07a9d709bf96b0d2f8d97240971279ca

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

FactoryGirl.define do
  factory :gemgento_user, class: 'Gemgento::User'  do
    email { Faker::Internet.email }
    first_name { Faker::Name.first_name }
    last_name { Faker::Name.last_name }
    password 'Password123'
    sync_needed false
    association :user_group, factory: :gemgento_user_group

    after(:build) { |user| user.class.skip_callback(:create, :before, :magento_create) }
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemgento-2.8.0 spec/factories/gemgento/users.rb