Sha256: 8eadce07c45370dc8ba8c6e44a96850ca80b2f80cb7fb58e8358904e5fa0a5f8

Contents?: true

Size: 298 Bytes

Versions: 13

Compression:

Stored size: 298 Bytes

Contents

FactoryBot.define do
  factory :client_price, class: "Comee::Core::ClientPrice" do
    valid_from { Date.current.advance(months: -1) }
    valid_to { Date.current.advance(months: 1) }
    status { 0 }
    price { 100 }
    product
    client
    discount { 0 }
    previous_price { nil }
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
comee_core-0.1.31 spec/factories/comee/core/client_prices.rb
comee_core-0.1.30 spec/factories/comee/core/client_prices.rb
comee_core-0.1.29 spec/factories/comee/core/client_prices.rb
comee_core-0.1.28 spec/factories/comee/core/client_prices.rb
comee_core-0.1.27 spec/factories/comee/core/client_prices.rb
comee_core-0.1.26 spec/factories/comee/core/client_prices.rb
comee_core-0.1.25 spec/factories/comee/core/client_prices.rb
comee_core-0.1.24 spec/factories/comee/core/client_prices.rb
comee_core-0.1.23 spec/factories/comee/core/client_prices.rb
comee_core-0.1.22 spec/factories/comee/core/client_prices.rb
comee_core-0.1.21 spec/factories/comee/core/client_prices.rb
comee_core-0.1.20 spec/factories/comee/core/client_prices.rb
comee_core-0.1.19 spec/factories/comee/core/client_prices.rb