Fix test fail

This commit is contained in:
Rohan Mitchell
2013-09-09 10:41:28 +10:00
parent d32a8b56d0
commit 1de0f85c73

View File

@@ -209,7 +209,7 @@ describe Spree::Order do
subject.distributor = test_enterprise
subject.should_not be_valid
subject.errors.messages.should == {:distributor_id => ["cannot supply the products in your cart"]}
subject.errors.messages.should == {:base=>["Distributor or order cycle cannot supply the products in your cart"]}
end
end