Skip to content

Renames diaper acquisition to diapers#4702

Merged
cielf merged 4 commits into
rubyforgood:mainfrom
sbpipb:4686_rename_report_diaper_acquisition_to_diaper
Oct 14, 2024
Merged

Renames diaper acquisition to diapers#4702
cielf merged 4 commits into
rubyforgood:mainfrom
sbpipb:4686_rename_report_diaper_acquisition_to_diaper

Conversation

@sbpipb
Copy link
Copy Markdown
Collaborator

@sbpipb sbpipb commented Oct 3, 2024

Resolves #4686

Description

Type of change

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • rename service class AcquisitionReportService to DiaperReportService
  • update test specs for DiaperReportService
  • update report name

@sbpipb sbpipb requested a review from cielf October 3, 2024 09:38
@sbpipb sbpipb self-assigned this Oct 3, 2024
@sbpipb
Copy link
Copy Markdown
Collaborator Author

sbpipb commented Oct 4, 2024

for your review @cielf

Copy link
Copy Markdown
Collaborator

@cielf cielf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great functionally - I've got one remark on the test.

year = 1.year.ago.year
click_on(year.to_s)
expect(page).to have_content("Diaper Acquisition")
expect(page).to have_content("Diapers")
Copy link
Copy Markdown
Collaborator

@cielf cielf Oct 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test would have passed while the heading was still "Diaper Acquisition". because there are other cases of "Diapers" in the report. I suppose we can check that it's h1 as well.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done with your request @cielf

@sbpipb sbpipb force-pushed the 4686_rename_report_diaper_acquisition_to_diaper branch from fa118b4 to 1d02634 Compare October 13, 2024 08:40
@sbpipb sbpipb requested a review from cielf October 14, 2024 12:51
Copy link
Copy Markdown
Collaborator

@cielf cielf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@cielf cielf merged commit 2d9f1a0 into rubyforgood:main Oct 14, 2024
@github-actions
Copy link
Copy Markdown
Contributor

@sbpipb: Your PR Renames diaper acquisition to diapers is part of today's Human Essentials production release: 2024.10.20.
Thank you very much for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change "Diaper Acquisition" to "Diapers" in Annual survey

2 participants