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

Simplify valuator factories #3727

Merged
merged 3 commits into from
Sep 30, 2019
Merged

Simplify valuator factories #3727

merged 3 commits into from
Sep 30, 2019

Conversation

javierm
Copy link
Member

@javierm javierm commented Sep 25, 2019

Objectives

Reduce the amount of code we need to write to create valuators in the tests.

@javierm javierm added the Specs label Sep 25, 2019
@javierm javierm self-assigned this Sep 25, 2019
@javierm javierm added this to Reviewing in Roadmap via automation Sep 25, 2019
spec/models/abilities/valuator_spec.rb Show resolved Hide resolved
spec/models/abilities/valuator_spec.rb Show resolved Hide resolved
spec/models/abilities/valuator_spec.rb Show resolved Hide resolved
spec/features/valuation/budget_investments_spec.rb Outdated Show resolved Hide resolved
spec/models/budget/investment_spec.rb Show resolved Hide resolved
spec/models/budget/investment_spec.rb Show resolved Hide resolved
spec/models/budget/investment_spec.rb Show resolved Hide resolved
spec/models/budget/investment_spec.rb Show resolved Hide resolved
spec/models/budget/investment_spec.rb Show resolved Hide resolved
@javierm javierm force-pushed the attributes_in_specs branch 2 times, most recently from 2bdcde7 to 0484318 Compare September 27, 2019 21:59
Creating a record and then assigning an association makes the code even
harder to follow.
@javierm javierm changed the base branch from attributes_in_specs to master September 30, 2019 13:08
@javierm javierm merged commit a1670e2 into master Sep 30, 2019
Roadmap automation moved this from Reviewing to Release 1.1.0 Sep 30, 2019
@javierm javierm deleted the simplify_valuator_factories branch September 30, 2019 13:58
smarques pushed a commit to venetochevogliamo/consul that referenced this pull request Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Roadmap
  
Release 1.1.0
Development

Successfully merging this pull request may close these issues.

None yet

2 participants