Sha256: 785e78db36d3db615afeb057e6338a447dbc4726393cb4a2386e9f19b15474e3

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

FactoryBot.define do
  factory :booking, class: Ecom::Core::Booking do
    association :equipment_request
    association :booked_by, factory: :user
    association :booked_for, factory: :user
    remark { FFaker::Name.name }
    status { Ecom::Core::Booking::UNAPPROVED }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecom_core-1.2.13 spec/factories/ecom/core/bookings.rb