Sha256: ec3340c1eb7dc59f6425c98d6f5c134c872648c1c84fe063bbebcdf5b8d9e26c

Contents?: true

Size: 477 Bytes

Versions: 5

Compression:

Stored size: 477 Bytes

Contents

require 'spec_helper'

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

  context '.provider_class' do
    it 'is a Balanced gateway' do
      expect(gateway.provider_class).to eq ::ActiveMerchant::Billing::BalancedGateway
    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

5 entries across 5 versions & 2 rubygems

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