From 369761ccc5af28b33edfdaab0076107a29d24bdb Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Tue, 24 Jun 2014 14:15:15 +1000 Subject: [PATCH] Minor regression bug --- spec/features/consumer/shopping/shopping_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/consumer/shopping/shopping_spec.rb b/spec/features/consumer/shopping/shopping_spec.rb index e219e970a2..e75f7f6f21 100644 --- a/spec/features/consumer/shopping/shopping_spec.rb +++ b/spec/features/consumer/shopping/shopping_spec.rb @@ -196,7 +196,7 @@ feature "As a consumer I want to shop with a distributor", js: true do context "when no order cycles are available" do it "tells us orders are closed" do visit shop_path - page.should have_content "Orders are currently closed for this hub" + page.should have_content "Orders are closed" end it "shows the last order cycle" do oc1 = create(:simple_order_cycle, distributors: [distributor], orders_close_at: 10.days.ago)