Sha256: a041859120a41e54088d17282b425b5768a46ac4d7f30edf45d58110dc28dbe7

Contents?: true

Size: 443 Bytes

Versions: 35

Compression:

Stored size: 443 Bytes

Contents

require 'spec_helper'

describe Spree::Gateway::Beanstream do
  let(:gateway) { described_class.create!(name: 'Beanstream') }

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

  context '.payment_profiles_supported?' do
    it 'return true' do
      expect(gateway.payment_profiles_supported?).to be true
    end
  end
end

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
solidus_gateway-1.3.0 spec/models/gateway/beanstream_spec.rb
spree_gateway-3.3.2 spec/models/gateway/beanstream_spec.rb
solidus_gateway-1.2.0 spec/models/gateway/beanstream_spec.rb
spree_gateway-3.3.0 spec/models/gateway/beanstream_spec.rb
spree_gateway-3.3.0.rc2 spec/models/gateway/beanstream_spec.rb
spree_gateway-3.3.0.rc1 spec/models/gateway/beanstream_spec.rb
spree_gateway-3.2.0 spec/models/gateway/beanstream_spec.rb
spree_gateway-3.2.0.beta spec/models/gateway/beanstream_spec.rb
solidus_gateway-1.1.1 spec/models/gateway/beanstream_spec.rb
solidus_gateway-1.1.0 spec/models/gateway/beanstream_spec.rb
spree_gateway-3.1.0 spec/models/gateway/beanstream_spec.rb
spree_gateway-3.0.0 spec/models/gateway/beanstream_spec.rb
solidus_gateway-1.0.1 spec/models/gateway/beanstream_spec.rb
solidus_gateway-0.9.0 spec/models/gateway/beanstream_spec.rb
solidus_gateway-1.0.0 spec/models/gateway/beanstream_spec.rb