Skip to content

Extract methods from assemblies seeds#12010

Merged
alecslupu merged 9 commits intodevelopfrom
refactor/seeds-assemblies-cleanup
Nov 18, 2023
Merged

Extract methods from assemblies seeds#12010
alecslupu merged 9 commits intodevelopfrom
refactor/seeds-assemblies-cleanup

Conversation

@andreslucena
Copy link
Copy Markdown
Member

🎩 What? Why?

Refactors the assemblies seeds to individual methods.

This is following the same methodology and reasoning from #12005, so refer to that issue for the explanations.

Testing

Regenerating the development_app database should have different kind of proposals (almost the same as before):

$ bin/rails db:drop db:create db:migrate db:seed

For making magic:

bin/rails runner "200.times { Decidim::Assemblies::Seeds.new.create_assembly! }"

♥️ Thank you!

@alecslupu alecslupu merged commit 904b610 into develop Nov 18, 2023
@alecslupu alecslupu deleted the refactor/seeds-assemblies-cleanup branch November 18, 2023 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants