Sha256: 28e630e6440b78e912644fee14271d44a6a5a76cceed1e6aa1c80dadac8983e9

Contents?: true

Size: 224 Bytes

Versions: 4

Compression:

Stored size: 224 Bytes

Contents

FactoryBot.define do
  factory :plan, class: Ecom::Core::Plan do
    name { FFaker::Name.name }
    start_date { Time.now }
    end_date { (Time.now + 1.day).to_s }
    status { Ecom::Core::Plan::STATUSES.sample }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecom_core-1.2.35 spec/factories/ecom/core/plans.rb
ecom_core-1.2.34 spec/factories/ecom/core/plans.rb
ecom_core-1.2.33 spec/factories/ecom/core/plans.rb
ecom_core-1.2.32 spec/factories/ecom/core/plans.rb