Sha256: 953ae70f63a0dfda0aed06a81e0fdd23ba9ea3f6483b6a3f44cb84440875e2e6
Contents?: true
Size: 326 Bytes
Versions: 9
Compression:
Stored size: 326 Bytes
Contents
FactoryGirl.define do factory :currency, parent: :lookup, class: 'Logistics::Core::Currency' do type 'Logistics::Core::Currency' trait :with_rates do after(:create) do |cur| cur.currency_rates = [create(:currency_rate, currency: cur), create(:currency_rate, currency: cur)] end end end end
Version data entries
9 entries across 9 versions & 1 rubygems