Sha256: 1e4dac133292e89208d1bb29a5273bb51d7353098c195dafb015ee3c83abc518
Contents?: true
Size: 300 Bytes
Versions: 3
Compression:
Stored size: 300 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ecom_core-1.2.12 | spec/factories/ecom/core/users.rb |
ecom_core-1.2.11 | spec/factories/ecom/core/users.rb |
ecom_core-1.2.10 | spec/factories/ecom/core/users.rb |