Sha256: 8605dc29a8762ac4e38f7e4345ed567963a0752563a923f0f7631e563e266ad0

Contents?: true

Size: 412 Bytes

Versions: 12

Compression:

Stored size: 412 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :paypal_payment_method, class: 'SolidusPaypalCommercePlatform::PaymentMethod' do
    type { "SolidusPaypalCommercePlatform::PaymentMethod" }
    name { "PayPal Payment Method" }
    preferences {
      {
        client_id: SecureRandom.hex(8),
        client_secret: SecureRandom.hex(10),
        venmo_standalone: 'disabled'
      }
    }
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
solidus_paypal_commerce_platform-1.0.3 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-1.0.2 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-0.7.1 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-1.0.1 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-1.0.0 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-0.7.0 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-1.0.0.beta3 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-1.0.0.beta2 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-1.0.0.beta1 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-0.6.0 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-0.5.0 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-0.4.0 lib/solidus_paypal_commerce_platform/testing_support/factories.rb