FactoryGirl.define do factory :container_storage_rate, class: 'Logistics::Core::ContainerStorageRate' do association :container_size association :transaction_type association :warehouse_rate_period association :container_type association :content_type rate 1.5 effective_date Date.new end end