Sha256: a16be2fe5e8072c5e7d315f2f2ecab329310afbdc5e934efee46cee079ec18cc

Contents?: true

Size: 281 Bytes

Versions: 34

Compression:

Stored size: 281 Bytes

Contents

FactoryBot.define do
  factory :order, class: Patch::Order do
    sequence(:id) { |n| n }
    mass_g { 1_000 }
    production { false }
    state { "draft" }
    allocation_state { "pending" }
    price_cents_usd { 500 }
    patch_fee_cents_usd { 5 }
    metadata { {} }
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
patch_ruby-1.24.2 spec/factories/orders.rb
patch_ruby-1.24.1 spec/factories/orders.rb
patch_ruby-1.24.0 spec/factories/orders.rb
patch_ruby-1.23.0 spec/factories/orders.rb
patch_ruby-1.22.0 spec/factories/orders.rb
patch_ruby-1.21.0 spec/factories/orders.rb
patch_ruby-1.20.0 spec/factories/orders.rb
patch_ruby-1.19.0 spec/factories/orders.rb
patch_ruby-1.18.0 spec/factories/orders.rb
patch_ruby-1.17.1 spec/factories/orders.rb
patch_ruby-1.17.0 spec/factories/orders.rb
patch_ruby-1.16.1 spec/factories/orders.rb
patch_ruby-1.16.0 spec/factories/orders.rb
patch_ruby-1.15.2 spec/factories/orders.rb
patch_ruby-1.15.1 spec/factories/orders.rb
patch_ruby-1.15.0 spec/factories/orders.rb
patch_ruby-1.14.0 spec/factories/orders.rb
patch_ruby-1.13.0 spec/factories/orders.rb
patch_ruby-1.12.0 spec/factories/orders.rb
patch_ruby-1.11.1 spec/factories/orders.rb