Sha256: 7be9db37a5926199d2e83f39399bf602e47817101600ceef9ee4aa7e443c62bb

Contents?: true

Size: 336 Bytes

Versions: 5

Compression:

Stored size: 336 Bytes

Contents

require 'spec_helper'

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

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

Version data entries

5 entries across 5 versions & 2 rubygems

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