FactoryGirl.define do factory :break_bulk_rate, class: 'Logistics::Core::BreakBulkRate' do association :transaction_type association :chargeable_service_unit_of_charge low 1 medium 2 high 3 effective_date Date.new end end