From 318a8113edc15c1e4003024e2a72acb9842fa593 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 29 Jan 2024 15:52:31 +0000 Subject: [PATCH] Updates distributor to have a shopfront message Doing so, enables a homepage for that enterprise, which surfaces issue #12076. The test as been set as pending, which needs to be changed when the issue is fixed --- spec/system/consumer/shopping/shopping_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/system/consumer/shopping/shopping_spec.rb b/spec/system/consumer/shopping/shopping_spec.rb index 132614c18f..e14caa0509 100644 --- a/spec/system/consumer/shopping/shopping_spec.rb +++ b/spec/system/consumer/shopping/shopping_spec.rb @@ -165,8 +165,10 @@ describe "As a consumer I want to shop with a distributor" do let(:exchange2) { oc2.exchanges.to_enterprises(distributor).outgoing.first } before do + pending("Issue #12076") exchange1.update_attribute :pickup_time, "frogs" exchange2.update_attribute :pickup_time, "turtles" + distributor.update!(preferred_shopfront_message: "Hello!") end it "shows a select with all order cycles, but doesn't show the products by default" do