Sha256: 62550b4027cae4f3c3aa0b06e615408e3161cfa2e25fbc77d5742b04c8e4e242

Contents?: true

Size: 310 Bytes

Versions: 5

Compression:

Stored size: 310 Bytes

Contents

require 'spec_helper'

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

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

Version data entries

5 entries across 5 versions & 2 rubygems

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