Sha256: 32d426c5cbddeabdc16be7971b9d6e6baa27d29e0854142e195878eb493a8bba
Contents?: true
Size: 525 Bytes
Versions: 43
Compression:
Stored size: 525 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' module Spree module Stock module Splitter RSpec.describe Base, type: :model do let(:stock_location) { mock_model(Spree::StockLocation) } it 'continues to splitter chain' do splitter1 = Base.new(stock_location) splitter2 = Base.new(stock_location, splitter1) packages = [] expect(splitter1).to receive(:split).with(packages) splitter2.split(packages) end end end end end
Version data entries
43 entries across 43 versions & 2 rubygems