Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split checkout: Display "Update" button on the order table page unless order is complete #8944

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/spree/orders/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
= render 'bought' if show_bought_items? && @order.cart?

%tfoot#edit-cart
= render 'spree/orders/form/cart_actions_row' if @order.cart?
= render 'spree/orders/form/cart_actions_row' unless @order.complete?

%tr
%td.text-right{colspan:"3"}
Expand Down
6 changes: 1 addition & 5 deletions spec/system/consumer/split_checkout_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,7 @@
expect(page).to have_current_path("/checkout/payment")
end

context "when I have an out of stock product in my cart" do
pending("awaiting closure bug #8940") do
it_behaves_like "when I have an out of stock product in my cart"
end
end
it_behaves_like "when I have an out of stock product in my cart"
end
end

Expand Down