Sha256: 9c84a5ee3ab88fa19824da2e5c16036293e67a0e2d386e11b78416dd09b07786

Contents?: true

Size: 324 Bytes

Versions: 5

Compression:

Stored size: 324 Bytes

Contents

require 'spec_helper'

describe Spree::Gateway::PayPalGateway do
  let(:gateway) { described_class.create!(name: 'PayPal', stores: [::Spree::Store.default]) }

  context '.provider_class' do
    it 'is a PayPal gateway' do
      expect(gateway.provider_class).to eq ::ActiveMerchant::Billing::PaypalGateway
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
spree_gateway-3.11.0 spec/models/gateway/pay_pal_spec.rb
spree_gateway-3.10.0 spec/models/gateway/pay_pal_spec.rb
archetype_spree_gateway-3.9.5.1 spec/models/gateway/pay_pal_spec.rb
archetype_spree_gateway-3.9.5 spec/models/gateway/pay_pal_spec.rb
spree_gateway-3.9.4 spec/models/gateway/pay_pal_spec.rb