Sha256: 78f52067de1aca39bc45dde96d8f3940758d274dd2173f11a903f9093178db15
Contents?: true
Size: 455 Bytes
Versions: 32
Compression:
Stored size: 455 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 & 2 rubygems