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.11.0 spec/factories/orders.rb
patch_ruby-1.10.2 spec/factories/orders.rb
patch_ruby-1.10.1 spec/factories/orders.rb
patch_ruby-1.10.0 spec/factories/orders.rb
patch_ruby-1.9.0 spec/factories/orders.rb
patch_ruby-1.8.0 spec/factories/orders.rb
patch_ruby-1.7.0 spec/factories/orders.rb
patch_ruby-1.6.0 spec/factories/orders.rb
patch_ruby-1.5.2 spec/factories/orders.rb
patch_ruby-1.5.1 spec/factories/orders.rb
patch_ruby-1.5.0 spec/factories/orders.rb
patch_ruby-1.4.0 spec/factories/orders.rb
patch_ruby-1.3.0 spec/factories/orders.rb
patch_ruby-1.2.5 spec/factories/orders.rb