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

Small refactorings #248

Merged
merged 9 commits into from
Mar 23, 2021
Merged

Small refactorings #248

merged 9 commits into from
Mar 23, 2021

Conversation

peteryates
Copy link
Member

Another batch of minor (mainly readability) improvements to the codebase. No functionality changes included.

Instead add a #bound method to GOVUKDesignSystemFormBuilder::Base that
returns them.
These aren't always hit by the tests for a reason and, as they're part
of the test suite it doesn't make sense for them to count as untested.
The #buttons method is totally unnecessary here as @block_content will
always be nil. Instead call #submit directly
@peteryates peteryates merged commit efeab95 into master Mar 23, 2021
@peteryates peteryates deleted the small-refactorings branch March 23, 2021 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical debt Something could be better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant