Sha256: 7ba1f523b63de06ddbb885e6deb05b0193b124eaa11b1987fdd208c171341331
Contents?: true
Size: 450 Bytes
Versions: 5
Compression:
Stored size: 450 Bytes
Contents
FactoryBot.define do factory :master_price, class: "Comee::Core::MasterPrice" do purchase_price { 100.0 } selling_price { 90.0 } pp_valid_from { Date.current.advance(months: -1) } pp_valid_to { Date.current.advance(months: 1) } sp_valid_from { Date.current.advance(months: -1) } sp_valid_to { Date.current.advance(months: 1) } active { true } primary { false } margin { 10.0 } product supplier end end
Version data entries
5 entries across 5 versions & 1 rubygems