Sha256: eb9a3a98c8c91676c1d14ce2b8b6ad3cad7df8605fbad46a55190c980afc1121

Contents?: true

Size: 285 Bytes

Versions: 16

Compression:

Stored size: 285 Bytes

Contents

FactoryBot.define do
  factory :lookahead_plan, class: Ecom::Core::LookaheadPlan do
    name { FFaker::Name.name }
    start_date { Time.now }
    end_date { (Time.now + 1.day).to_s }
    status { :new }
    revision_number { 1 }
    association :prepared_by, factory: :user
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

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