Sha256: e4e67ba452ce208a3980e9e55070144a1b2bda05e6f0e98eeeee8e2821be34ab

Contents?: true

Size: 232 Bytes

Versions: 17

Compression:

Stored size: 232 Bytes

Contents

FactoryBot.define do
  factory :crew_id_card, class: Ecom::Core::CrewIdCard do
    association :crew
    issued_on { Time.now }
    valid_until { Time.now + 1.month }
    status { Ecom::Core::CrewIdCard::STATUSES.sample }
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ecom_core-1.3.14 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.3.13 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.3.12 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.3.11 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.3.10 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.3.9 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.3.8 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.3.7 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.3.6 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.3.5 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.3.4 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.3.3 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.3.2 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.3.1 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.3.0 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.2.36 spec/factories/ecom/core/crew_id_cards.rb
ecom_core-1.2.35 spec/factories/ecom/core/crew_id_cards.rb