Sha256: 13f0ae62eedafc8cb65140961f6c3d538f260870e51e08e18cef627b51388c57

Contents?: true

Size: 395 Bytes

Versions: 3

Compression:

Stored size: 395 Bytes

Contents

FactoryBot.define do
  factory :stripe_invoice do
    sequence(:stripe_id) { |n| "stripe-invoice-#{n}" }
    amount_due_cents { 0 }
    amount_due_currency { "USD" }
    attempted { false }
    billing { "charge_automatically" }
    closed { false }
    created { 2.days.ago }
    currency { "usd" }
    forgiven { false }
    livemode { false }
    paid { false }
    stripe_customer
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stripe_model_callbacks-0.1.3 lib/stripe_model_callbacks/factories/stripe_invoices.rb
stripe_model_callbacks-0.1.2 lib/stripe_model_callbacks/factories/stripe_invoices.rb
stripe_model_callbacks-0.1.1 lib/stripe_model_callbacks/factories/stripe_invoices.rb