Sha256: a72078a6cd3a04714044beeba6d48fa1ea9acb2f9dc16d563088010d3b00ac1b

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

require 'spec_helper'

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

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

1 entries across 1 versions & 1 rubygems

Version Path
spree_gateway-2.2.1 spec/models/gateway/samurai_spec.rb