mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix tests - don't have feature toggle overrides on when running tests!
This commit is contained in:
@@ -137,7 +137,7 @@ describe Spree::Order do
|
||||
|
||||
subject.distributor = test_enterprise
|
||||
subject.should_not be_valid
|
||||
subject.errors.messages.should == {base: ["Distributor or order cycle cannot supply the products in your cart"]}
|
||||
subject.errors.messages.should == {distributor_id: ["cannot supply the products in your cart"]}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user