Sha256: eb43e233abda86c9270ff7bbb5f1c05954b0ff69c6392d3289ae31ff4a9042a9

Contents?: true

Size: 374 Bytes

Versions: 8

Compression:

Stored size: 374 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)
      }
    }
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
solidus_paypal_commerce_platform-0.3.2 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-0.3.1 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-0.3.0 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-0.2.2 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-0.2.1 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-0.2.0 lib/solidus_paypal_commerce_platform/testing_support/factories.rb
solidus_paypal_commerce_platform-0.1.0 lib/solidus_paypal_commerce_platform/factories.rb
solidus_paypal_commerce_platform-0.0.1 lib/solidus_paypal_commerce_platform/factories.rb