-
-
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 2 Upgrade - MailMethod - Fix "undefined mail method" error in specs #2588
Spree 2 Upgrade - MailMethod - Fix "undefined mail method" error in specs #2588
Conversation
@luisramos0 please connect your PR's to issues :) |
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.
Nice. Just a detail about the unrelated spec failure.
spec/models/order_cycle_spec.rb
Outdated
end | ||
before { order5.cancel } | ||
|
||
it "only returns items from non-cancelled orders in the OC, placed by the user at the shop" do | ||
items = oc.items_bought_by_user(user, shop) | ||
items.sort_by!(&:id) |
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.
This seems completely unrelated to the task. A separate commit could have been good. And did you know about match_array
?
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.
ok, moved this into a separate commit.
also used match_array instead, thanks, I didnt know it.
c4c48aa
to
082f9e4
Compare
What? Why?
Closes #2020
Doing exactly what's described in #2020.
What should we test?
All these specs should now have progressed to green or other errors as described below.
Tests not verifiable right now as tests fail with other errors:
Tests with new errors:
- other error related to email expectations
- other unrelated error
- other error related to email expectations
- other error related to email expectations
Green tests:
- green after PR Spree 2 Upgrade - MailMethod - Fixed bug on order_mailer_decorator (only visible in spree 2) #2587 and PR Spree2 - Bulk line items controller spec fix #2574
- green - I had to add a array sort in this spec expectation
- green
- green, just removed MailMethod call (this call is no longer needed)
- green, just removed MailMethod call
How is this related to the Spree upgrade?
This is part of getting the spree2 branch build to green.
Dependencies
This is related to PR #2587 and PR #2574 but can go first.