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