It was removed in commit 128a8164 alongside everything related to the
legislation process summary.
Co-Authored-By: taitus <sebastia.roig@gmail.com>
14 lines
399 B
Ruby
14 lines
399 B
Ruby
require "rails_helper"
|
|
|
|
describe Legislation::ProcessesController do
|
|
let(:legislation_process) { create(:legislation_process, end_date: Date.current - 1.day) }
|
|
|
|
it "download excel file test" do
|
|
create(:legislation_question, process: legislation_process, title: "Question 1")
|
|
|
|
get :summary, params: { id: legislation_process, format: :xlsx }
|
|
|
|
expect(response).to be_success
|
|
end
|
|
end
|