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