Skip to content
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

content modelling/909 pension rate cadence #9960

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

Harriethw
Copy link
Contributor

@Harriethw Harriethw commented Feb 20, 2025

https://trello.com/c/z9afIAop/909-update-cadence-label-and-values

This updates to reflect the new enum value for a rate's cadence #9960

Screenshot 2025-02-20 at 15 31 14

  • update pension rate examples to expect full copy
  • update feature test coverage for creating pension

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

previously we had the enums as 'weekly',
'monthly' etc, but we now want to use this
field as if it was the exact copy content
designers would be pasting into documents.

So we no longer call `humanize` on the enum
because it should already be the humanized
version. I think this is ok to do for now, as we do
not have any other enums in CBM afaik, and if it
causes problems we will need to revisit.
@Harriethw Harriethw force-pushed the content-modelling/909-pension-rate-cadence branch from 85b5641 to a70f62c Compare February 20, 2025 15:53
@Harriethw Harriethw requested a review from pezholio February 20, 2025 16:14
@Harriethw Harriethw marked this pull request as ready for review February 20, 2025 16:52
@Harriethw Harriethw merged commit 98c46dc into main Feb 21, 2025
19 checks passed
@Harriethw Harriethw deleted the content-modelling/909-pension-rate-cadence branch February 21, 2025 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants