-
-
Notifications
You must be signed in to change notification settings - Fork 725
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
[Spree Upgrade] Fix checkout feature specs #3100
[Spree Upgrade] Fix checkout feature specs #3100
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastique Hugo!!!
Just the Spree.t thing to fix and good to go.
btw, the only other place where we have Spree.t now is in the shipping_methods pages you de-defaced. maybe we should create an issue for that.
@@ -28,7 +28,7 @@ def edit | |||
associate_user | |||
|
|||
if @order.insufficient_stock_lines.present? | |||
flash[:error] = t(:spree_inventory_error_flash_for_insufficient_quantity) | |||
flash[:error] = Spree.t(:inventory_error_flash_for_insufficient_quantity) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see #3095
you can keep t(:spree_inventory_error_flash_for_insufficient_quantity) and move the translation to our en.yml under spree:
d6e3be1
to
42d2599
Compare
just a conflict to be resolved and ready to go! |
@HugsDaniel I was expecting a rebase here. |
20400d7
to
d7a148b
Compare
Sorry for my late response. Sure it will. |
meanwhile @HugsDaniel has rebased and Ive merged the rebased version. |
What? Why?
Part of #2999
This fix three of the five remaining failing specs in
spec/features/consumer/shopping/checkout_spec.rb
.What should we test?
Only two specs fail in
spec/features/consumer/shopping/checkout_spec.rb
, related to tax calculations.How is this related to the Spree upgrade?
This is part of fixing the Spree 2 build.