Skip to content

Commit

Permalink
fix: Remove not needed spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentinchampenois committed Feb 21, 2024
1 parent 0f4b678 commit e4d3efd
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions spec/system/homepage_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 "Open data"
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

0 comments on commit e4d3efd

Please sign in to comment.