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

Remove Participation module #3909

Merged
merged 16 commits into from
Oct 16, 2021
Prev Previous commit
Next Next commit
Remove participation elements from seeds and fixtures
  • Loading branch information
entantoencuanto committed Oct 6, 2021
commit 54fe15bd63f1aba8b19df18126f9bb9f2e3ab552
2 changes: 0 additions & 2 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@
end
end

::GobiertoCore::Template.create template_path: "gobierto_participation/welcome/index"
::GobiertoCore::Template.create template_path: "gobierto_participation/layouts/navigation_process"
::GobiertoCore::Template.create template_path: "layouts/application"

::BudgetsSeeder.seed!
8 changes: 0 additions & 8 deletions test/fixtures/versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ pdf_attachment_create:
object:
created_at: <%= Time.now %>

pdf_on_participation_create:
item_type: GobiertoAttachments::Attachment
item_id: <%= ActiveRecord::FixtureSet.identify(:pdf_on_participation) %>
event: create
whodunnit:
object:
created_at: <%= Time.now %>

xlsx_attachment_create:
item_type: GobiertoAttachments::Attachment
item_id: <%= ActiveRecord::FixtureSet.identify(:xlsx_attachment) %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,3 @@ xlsx_attachment_event_on_scope:
collection: site_attachments
item: xlsx_attachment_event (GobiertoAttachments::Attachment)
container: old_town_term (GobiertoCommon::Term)

# participation_documents

pdf_on_participation_on_site:
collection: participation_documents
item: pdf_on_participation (GobiertoAttachments::Attachment)
container: madrid (Site)
Original file line number Diff line number Diff line change
Expand Up @@ -388,21 +388,3 @@ intervention_with_children_on_scope:
collection: gender_violence_process_calendar
item: intervention_with_children (GobiertoCalendars::Event)
container: old_town_term (GobiertoCommon::Term)

# participation_calendar

presentation_participation_event_on_site:
collection: participation_calendar
item: presentation_participation (GobiertoCalendars::Event)
container: madrid (Site)

presentation_participation_event_on_participation:
collection: participation_calendar
item: presentation_participation (GobiertoCalendars::Event)

# participation_calendar

innovation_event_on_site:
collection: participation_calendar
item: innovation_event (GobiertoCalendars::Event)
container: madrid (Site)
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,12 @@ cookies_collection_item:

# themes

themes_on_process:
collection: news
item: themes
item_type: 'GobiertoCms::News'
container: sport_city_process (GobiertoParticipation::Process)

themes_on_site:
collection: news
item: themes
item_type: 'GobiertoCms::News'
container: madrid (Site)

themes_on_participation:
collection: news
item: themes
item_type: 'GobiertoCms::News'
container_type: GobiertoParticipation

themes_on_issue:
collection: news
item: themes
Expand All @@ -75,24 +63,12 @@ themes_on_scope:

# themes_draft

themes_draft_on_process:
collection: news
item: themes_draft
item_type: 'GobiertoCms::News'
container: sport_city_process (GobiertoParticipation::Process)

themes_draft_on_site:
collection: news
item: themes_draft
item_type: 'GobiertoCms::News'
container: madrid (Site)

themes_draft_on_participation:
collection: news
item: themes_draft
item_type: 'GobiertoCms::News'
container_type: GobiertoParticipation

themes_draft_on_issue:
collection: news
item: themes_draft (GobiertoAttachments::Attachment)
Expand Down