From 644beeb093e75a94199b9ada1e9fd49403fab83d Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Mon, 9 Sep 2013 10:55:40 +1000 Subject: [PATCH] Revert "Fix test fail" This reverts commit 1de0f85c7373e7e0b9ec0532f237d6320bb5c047. --- spec/models/order_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/order_spec.rb b/spec/models/order_spec.rb index b68901fb46..12b4747034 100644 --- a/spec/models/order_spec.rb +++ b/spec/models/order_spec.rb @@ -209,7 +209,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