Sha256: 1753209c3c7cf28896f3ff15bc92b0c2b1dda640c8e4ea19fb769db3efda3893

Contents?: true

Size: 803 Bytes

Versions: 2

Compression:

Stored size: 803 Bytes

Contents

FactoryGirl.define do
  # Define your Spree extensions Factories within this file to enable applications, and other extensions to use and override them.
  #
  # Example adding this to your spec_helper will load these Factories for use:
  # require 'solidus_paypal_braintree/factories'
end

FactoryGirl.modify do
  # The Solidus address factory randomizes the zipcode.
  # The OrderWalkThrough we use in the credit card checkout spec uses this factory for the user addresses.
  # For credit card payments we transmit the billing address to braintree, for paypal payments the shipping address.
  # As we match the body in our VCR settings VCR can not match the request anymore and therefore cannot replay existing cassettes.
  #
  factory :address do
    zipcode '21088-0255'
    lastname "Doe"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_paypal_braintree-0.2.0 lib/solidus_paypal_braintree/factories.rb
solidus_paypal_braintree-0.1.0 lib/solidus_paypal_braintree/factories.rb