Sha256: 75675cef1043953f3b07847ed424d9cb324e11dda8d512b8caae8f3e4be33c4c

Contents?: true

Size: 239 Bytes

Versions: 3

Compression:

Stored size: 239 Bytes

Contents

FactoryBot.define do
  factory :create_order_request, class: Patch::CreateOrderRequest do
    sequence(:project_id) { |n| n }
    amount { 100 }
    unit { "g" }
    total_price { 100 }
    currency { "USD" }
    metadata { {} }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
patch_ruby-2.3.0 spec/factories/create_order_requests.rb
patch_ruby-2.1.1 spec/factories/create_order_requests.rb
patch_ruby-2.0.0 spec/factories/create_order_requests.rb