spec/factories/ecom/model/crew_times.rb in ecom_model-2.0.2 vs spec/factories/ecom/model/crew_times.rb in ecom_model-2.0.3
- old
+ new
@@ -1,6 +1,7 @@
FactoryBot.define do
factory :crew_time, class: 'Ecom::Model::CrewTime' do
+ date { Date.today }
checkin_time { Time.now }
checkout_time { Time.now + 2 * 60 * 60 }
association :crew
remark { FFaker::Name.name }
overtime { false }