Disable distributor change in checkout until it takes order cycles into account

This commit is contained in:
Rohan Mitchell
2013-06-17 11:45:23 +10:00
parent b5479380b6
commit a355a09a7c
2 changed files with 9 additions and 7 deletions

View File

@@ -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')

View File

@@ -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'