mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Disable distributor change in checkout until it takes order cycles into account
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
Deface::Override.new(:virtual_path => "spree/checkout/edit",
|
||||
:insert_after => "[data-hook='checkout_summary_box']",
|
||||
:partial => "spree/checkout/other_available_distributors",
|
||||
:name => "add_change_distributor_form_to_checkout_address",
|
||||
:original => '60b9b1a39079f4efa85ff0425108edf671349d4f')
|
||||
# Disabled until this form takes order cycles into account
|
||||
# Deface::Override.new(:virtual_path => "spree/checkout/edit",
|
||||
# :insert_after => "[data-hook='checkout_summary_box']",
|
||||
# :partial => "spree/checkout/other_available_distributors",
|
||||
# :name => "add_change_distributor_form_to_checkout_address",
|
||||
# :original => '60b9b1a39079f4efa85ff0425108edf671349d4f')
|
||||
|
||||
@@ -131,8 +131,9 @@ feature %q{
|
||||
page.should have_content value
|
||||
end
|
||||
end
|
||||
|
||||
page.should have_selector "select#order_distributor_id option[value='#{@distributor_alternative.id}']"
|
||||
|
||||
# Disabled until this form takes order cycles into account
|
||||
# page.should have_selector "select#order_distributor_id option[value='#{@distributor_alternative.id}']"
|
||||
|
||||
click_button 'Save and Continue'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user