From 5bccd38b5e5459e846f37ed05034cd5ba0e1ca37 Mon Sep 17 00:00:00 2001 From: Andrew Spinks Date: Thu, 1 Aug 2013 15:37:42 +1000 Subject: [PATCH] Fix tests - don't have feature toggle overrides on when running tests! --- 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 8e0e6c54f7..f9dca32470 100644 --- a/spec/models/order_spec.rb +++ b/spec/models/order_spec.rb @@ -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