Skip to content

Commit

Permalink
Updates distributor to have a shopfront message
Browse files Browse the repository at this point in the history
Doing so, enables a homepage for that enterprise, which surfaces issue openfoodfoundation#12076. The test as been set as pending, which needs to be changed when the issue is fixed
  • Loading branch information
filipefurtad0 authored and Flavien LE BLOND committed Mar 13, 2024
1 parent f90b61a commit 0c76811
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/system/consumer/shopping/shopping_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,10 @@
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
Expand Down

0 comments on commit 0c76811

Please sign in to comment.