Sha256: 39d4ef7fb5c07834a53b35f5e98e5f8662b64438fdc8f6655c9f25f72d5e99e9
Contents?: true
Size: 451 Bytes
Versions: 32
Compression:
Stored size: 451 Bytes
Contents
require 'spec_helper' module Spree module Stock module Splitter describe Base, type: :model do let(:packer) { build(:stock_packer) } it 'continues to splitter chain' do splitter1 = Base.new(packer) splitter2 = Base.new(packer, splitter1) packages = [] expect(splitter1).to receive(:split).with(packages) splitter2.split(packages) end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems