Fix tests - don't have feature toggle overrides on when running tests!

This commit is contained in:
Andrew Spinks
2013-08-01 15:37:42 +10:00
parent 46474ea4cc
commit 5bccd38b5e

View File

@@ -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