Sha256: 278b04661b0621f36f4f1c3203f4f528bde6d71d86aa2dcf4a969783097d160b

Contents?: true

Size: 353 Bytes

Versions: 5

Compression:

Stored size: 353 Bytes

Contents

FactoryBot.define do
  factory :chargeable_service, class: 'Mks::Rate::ChargeableService' do
    code { FFaker::Name.unique.name }
    name { FFaker::Name.name }
    association :service_type
    association :base_unit, factory: :unit_of_charge
    association :utilization_unit, factory: :unit_of_charge
    association :service_delivery_unit
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mks_rate-1.0.5 spec/factories/chargeable_service.rb
mks_rate-1.0.4 spec/factories/chargeable_service.rb
mks_rate-1.0.3 spec/factories/chargeable_service.rb
mks_rate-1.0.2 spec/factories/chargeable_service.rb
mks_rate-1.0.1 spec/factories/chargeable_service.rb