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.2.31 spec/factories/ecom/core/users.rb
ecom_core-1.2.30 spec/factories/ecom/core/users.rb
ecom_core-1.2.29 spec/factories/ecom/core/users.rb
ecom_core-1.2.28 spec/factories/ecom/core/users.rb
ecom_core-1.2.27 spec/factories/ecom/core/users.rb
ecom_core-1.2.26 spec/factories/ecom/core/users.rb
ecom_core-1.2.25 spec/factories/ecom/core/users.rb
ecom_core-1.2.24 spec/factories/ecom/core/users.rb
ecom_core-1.2.23 spec/factories/ecom/core/users.rb
ecom_core-1.2.22 spec/factories/ecom/core/users.rb
ecom_core-1.2.21 spec/factories/ecom/core/users.rb
ecom_core-1.2.20 spec/factories/ecom/core/users.rb
ecom_core-1.2.19 spec/factories/ecom/core/users.rb
ecom_core-1.2.18 spec/factories/ecom/core/users.rb
ecom_core-1.2.17 spec/factories/ecom/core/users.rb
ecom_core-1.2.16 spec/factories/ecom/core/users.rb
ecom_core-1.2.15 spec/factories/ecom/core/users.rb
ecom_core-1.2.14 spec/factories/ecom/core/users.rb
ecom_core-1.2.13 spec/factories/ecom/core/users.rb