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

Convert next_node_calculation blocks into on_response blocks in benefit-cap-calculator #2638

Conversation

floehopper
Copy link
Contributor

@floehopper floehopper commented Jul 13, 2016

Description

Trello card: https://trello.com/c/LP9tmz3N

This is part of an effort to move all flows towards a new style. In the new style, next_node_calculation blocks are deprecated. This commit removes the only two remaining usages in production code (once other pending PRs have been merged).

Note that I've chosen to update the regression test checksums in this commit, because all the regression tests are still passing i.e. this was just an internal refactoring; no external behaviour has changed.

External changes

None. This is just an internal refactoring.

@chrisroos
Copy link
Contributor

Looks good to me, @floehopper!

@floehopper
Copy link
Contributor Author

Rebasing against master and force-pushing in preparation for merging.

This is part of an effort to move all flows towards a new style [1]. In the new
style, `next_node_calculation` blocks are deprecated. This commit removes the
only two remaining usages in production code (once other pending PRs have been
merged).

Note that I've chosen to update the regression test checksums in this commit,
because all the regression tests are still passing i.e. this was just an
internal refactoring; no external behaviour has changed.

[1]: https://github.com/alphagov/smart-answers/blob/master/doc/refactoring.md
@floehopper floehopper force-pushed the remove-use-of-next-node-calculation-from-benefit-cap-calculator branch from 84fcb77 to efa030a Compare July 14, 2016 16:55
@floehopper floehopper merged commit ce7fd9b into master Jul 14, 2016
@floehopper floehopper deleted the remove-use-of-next-node-calculation-from-benefit-cap-calculator branch July 14, 2016 16:58
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