Sha256: ef9ccd7385b72042faff35a6fc201fd2378803082cf767f8c7c36a2e474caf3a

Contents?: true

Size: 407 Bytes

Versions: 40

Compression:

Stored size: 407 Bytes

Contents

require 'spec_helper'

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

  context '.provider_class' do
    it 'is a Maxipago gateway' do
      expect(subject.provider_class).to eq ::ActiveMerchant::Billing::MaxipagoGateway
    end
  end

  context '.auto_capture?' do
    it 'return true' do
      expect(subject.auto_capture?).to be true
    end
  end
end

Version data entries

40 entries across 40 versions & 3 rubygems

Version Path
spree_gateway-3.11.0 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.10.0 spec/models/gateway/maxipago_spec.rb
archetype_spree_gateway-3.9.5.1 spec/models/gateway/maxipago_spec.rb
archetype_spree_gateway-3.9.5 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.9.4 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.9.3 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.9.2 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.9.0 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.8.0 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.7.5 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.7.4 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.7.3 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.7.2 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.7.1 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.7.0 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.6.7 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.3.7 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.6.5 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.6.4 spec/models/gateway/maxipago_spec.rb
spree_gateway-3.3.5 spec/models/gateway/maxipago_spec.rb