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