Sha256: b5ddb9959c9334677250d7f2ed4aa3594fc3fadaee0939a0f3bda17d115df701

Contents?: true

Size: 284 Bytes

Versions: 24

Compression:

Stored size: 284 Bytes

Contents

FactoryBot.define do
  factory :maintenance_cost, class: Ecom::Core::MaintenanceCost do
    association :job_card
    association :cost_type
    cost_detail { { part_number: 'ABCDEF', quantity: 1, price: 200 } }
    remark { FFaker::Name.name }
    costs_approved { false }
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

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