Sha256: e72bb17dc7ca4cb4a7e96b4ea191cd4abc9b202576e3c5459545f9533d3bc2d3

Contents?: true

Size: 210 Bytes

Versions: 9

Compression:

Stored size: 210 Bytes

Contents

FactoryGirl.define do
  factory :currency_rate, class: 'Logistics::Core::CurrencyRate' do
    rate_to_base_selling 20
    rate_to_base_buying 30
    rate_date { Date.today }
    association :currency
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logistics_core-21.11.2 spec/factories/currency_rates.rb
logistics_core-21.11.1 spec/factories/currency_rates.rb
logistics_core-21.08.1 spec/factories/currency_rates.rb
logistics_core-21.03.1 spec/factories/currency_rates.rb
logistics_core-20.10.3 spec/factories/currency_rates.rb
logistics_core-20.10.2 spec/factories/currency_rates.rb
logistics_core-20.10.1 spec/factories/currency_rates.rb
logistics_core-20.9.1 spec/factories/currency_rates.rb
logistics_core-20.8.1 spec/factories/currency_rates.rb