Sha256: 8581860ed1d457504c6b8f1c4bb431cb4432918d0c4a3fdf5c689c45fa00444b

Contents?: true

Size: 301 Bytes

Versions: 39

Compression:

Stored size: 301 Bytes

Contents

FactoryBot.define do
  factory :user, class: Ecom::Core::User do
    first_name { FFaker::Name.name }
    last_name { FFaker::Name.name }
    email { FFaker::Internet.email }
    active { true }
    password { FFaker::Internet.password }
    projects { [{ id: 1, name: 'Sample Project' }] }
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
ecom_core-1.3.14 spec/factories/ecom/core/users.rb
ecom_core-1.3.13 spec/factories/ecom/core/users.rb
ecom_core-1.3.12 spec/factories/ecom/core/users.rb
ecom_core-1.3.11 spec/factories/ecom/core/users.rb
ecom_core-1.3.10 spec/factories/ecom/core/users.rb
ecom_core-1.3.9 spec/factories/ecom/core/users.rb
ecom_core-1.3.8 spec/factories/ecom/core/users.rb
ecom_core-1.3.7 spec/factories/ecom/core/users.rb
ecom_core-1.3.6 spec/factories/ecom/core/users.rb
ecom_core-1.3.5 spec/factories/ecom/core/users.rb
ecom_core-1.3.4 spec/factories/ecom/core/users.rb
ecom_core-1.3.3 spec/factories/ecom/core/users.rb
ecom_core-1.3.2 spec/factories/ecom/core/users.rb
ecom_core-1.3.1 spec/factories/ecom/core/users.rb
ecom_core-1.3.0 spec/factories/ecom/core/users.rb
ecom_core-1.2.36 spec/factories/ecom/core/users.rb
ecom_core-1.2.35 spec/factories/ecom/core/users.rb
ecom_core-1.2.34 spec/factories/ecom/core/users.rb
ecom_core-1.2.33 spec/factories/ecom/core/users.rb
ecom_core-1.2.32 spec/factories/ecom/core/users.rb