Sha256: cdc0f68b3418c093f9830209ac717d416cfd753b87592524002c5b6806454d54
Contents?: true
Size: 452 Bytes
Versions: 6
Compression:
Stored size: 452 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
6 entries across 6 versions & 1 rubygems