-
Notifications
You must be signed in to change notification settings - Fork 163
change reportMailer definition and specs (DoNotMerge) #12740
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
base: main
Are you sure you want to change the base?
Conversation
changelog: Internal, Reporting, Update ReportMailer, and its caller see https://gitlab.login.gov/lg-teams/Team-Data/reporting/-/issues/367
changelog: Internal, Reporting, Update ReportMailer, and its caller see https://gitlab.login.gov/lg-teams/Team-Data/reporting/-/issues/367
b250b15 to
38ef02b
Compare
koseni123
left a comment
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.
LGTM
astrogeco
left a comment
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.
Looks good with one nit
| let(:mail) do | ||
| ReportMailer.tables_report( | ||
| email: '[email protected]', | ||
| to: '[email protected]', |
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.
we need a spec check for cc and bcc
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.
Done, added checks for CC and BCC
* changelog: Internal, Reporting, add spec for BCC and CC see https://gitlab.login.gov/lg-teams/Team-Data/reporting/-/issues/367
changelog: Internal, Reporting, Update ReportMailer, and its caller
see https://gitlab.login.gov/lg-teams/Team-Data/reporting/-/issues/367
🎫 Ticket
GL_Data_Reporting-367
Link to the relevant ticket:
GL_Data_Reporting-367
🛠 Summary of changes
Write a brief description of what you changed.
--> Updated ReportMailer.tables_report to use a to: keyword argument instead of email.
--> All reports calling ReportMailer.tables_report are updated to use to: instead of email:.
--> Related specs are updated
📜 Testing Plan
Provide a checklist of steps to confirm the changes.
👀 Screenshots
If relevant, include a screenshot or screen capture of the changes.


Before:
After: