require 'spec_helper' describe Spree::Gateway::CardSave do let(:gateway) { described_class.create!(name: 'CardSave', stores: [::Spree::Store.default]) } context '.provider_class' do it 'is a CardSave gateway' do expect(gateway.provider_class).to eq ::ActiveMerchant::Billing::CardSaveGateway end end end