Sha256: c3d3562f64fa98ff1bc9de2c22e348823a4bb8214fcc0a4003f93fdea3526b45
Contents?: true
Size: 447 Bytes
Versions: 7
Compression:
Stored size: 447 Bytes
Contents
# frozen_string_literal: true RSpec.describe SolidusSubscriptions::Dispatcher::OutOfStockDispatcher do describe '#dispatch' do it 'marks the installment as out of stock' do installment = instance_spy(SolidusSubscriptions::Installment) order = build_stubbed(:order) dispatcher = described_class.new(installment, order) dispatcher.dispatch expect(installment).to have_received(:out_of_stock) end end end
Version data entries
7 entries across 7 versions & 1 rubygems