FactoryBot.define do factory :user, class: 'Ecom::Model::User' do first_name { FFaker::Name.name } last_name { FFaker::Name.name } email { FFaker::Internet.email } active { true } password { FFaker::Internet.password } end end