mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
In OFN we cannot split the orders because one order can only have one shipment Additionally, add spec to validate that the order workflow now works with products with different shipping categories
10 lines
283 B
Ruby
10 lines
283 B
Ruby
require 'spec_helper'
|
|
|
|
describe Openfoodnetwork::Application, 'configuration' do
|
|
let(:config) { described_class.config }
|
|
|
|
it "sets Spree::Stock::Splitter::Base as the only stock splitter" do
|
|
expect(config.spree.stock_splitters).to eq [Spree::Stock::Splitter::Base]
|
|
end
|
|
end
|