spec/models/gateway/epay_spec.rb in spree_gateway-3.9.3 vs spec/models/gateway/epay_spec.rb in spree_gateway-3.9.4
- old
+ new
@@ -1,8 +1,8 @@
require 'spec_helper'
describe Spree::Gateway::Epay do
- let(:gateway) { described_class.create!(name: 'Epay') }
+ let(:gateway) { described_class.create!(name: 'Epay', stores: [::Spree::Store.default]) }
context '.provider_class' do
it 'is a Epay gateway' do
expect(gateway.provider_class).to eq ::ActiveMerchant::Billing::EpayGateway
end