-
Notifications
You must be signed in to change notification settings - Fork 11
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
3298 no send update if no change #3361
Conversation
b80435e
to
56bb7d1
Compare
d751f1e
to
d195149
Compare
8acdeff
to
a32b1a7
Compare
mail( | ||
to: to_list, | ||
subject: "New Invoice" | ||
subject: 'Thank you for your order' |
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 change is a bit misleading, I moved some of the methods around and with the changes/simplification of the class, the diff algorithm isn't making it clear that this is actually a different method.
5199b37
to
1be71bb
Compare
@@ -2,48 +2,8 @@ class SendUpdateEmails | |||
include Interactor | |||
|
|||
def perform | |||
#return if Rails.env.production? |
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.
add require_in_context
@@ -118,6 +113,7 @@ | |||
end | |||
|
|||
describe ".orders_for_buyer" do | |||
|
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.
extra line
Fixes #3347 plus lots of cleanups.
seller_order_update_no_recipient_3347
branchThe following specs have been reviewed and run green
spec/interactors/send_update_emails_spec.rb
spec/mailers/order_mailer_spec.rb
spec/models/order_spec.rb
That said, I couldn't reproduce the issue (#3298) via tests locally so there is still a possibility that the root cause is still outstanding.