From 5866af2f1e3d09f24fadec75d8b4df5cb1ac4d1e Mon Sep 17 00:00:00 2001 From: quentinchampenois <26109239+Quentinchampenois@users.noreply.github.com> Date: Tue, 20 Feb 2024 14:46:30 +0100 Subject: [PATCH] fix: Remove deprecated open data test --- spec/system/homepage_spec.rb | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/spec/system/homepage_spec.rb b/spec/system/homepage_spec.rb index 24ec7925..a05e2966 100644 --- a/spec/system/homepage_spec.rb +++ b/spec/system/homepage_spec.rb @@ -421,24 +421,6 @@ expect(page).to have_i18n_content(organization.highlighted_content_banner_action_subtitle) end end - - context "when downloading open data", download: true do - before do - Decidim::OpenDataJob.perform_now(organization) - switch_to_host(organization.host) - visit decidim.root_path - end - - it "lets the users download open data files" do - click_link "Download Open Data files" - expect(File.basename(download_path)).to include("open-data.zip") - Zip::File.open(download_path) do |zipfile| - expect(zipfile.glob("*open-data-proposals.csv").length).to eq(1) - expect(zipfile.glob("*open-data-results.csv").length).to eq(1) - expect(zipfile.glob("*open-data-meetings.csv").length).to eq(1) - end - end - end end end end