Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix(rubocop): obey linting

as-op20299d8235fd
diff --git a/spec/workers/work_packages/exports/export_job_integration_spec.rb b/spec/workers/work_packages/exports/export_job_integration_spec.rb
index 72eb69cbe99..532b33e28a6 100644
--- a/spec/workers/work_packages/exports/export_job_integration_spec.rb
+++ b/spec/workers/work_packages/exports/export_job_integration_spec.rb
@@ -75,7 +75,8 @@ RSpec.describe WorkPackages::ExportJob, 'Integration' do
expect(job_status.status).to eq 'success'
attachment = export.attachments.last
- expect(attachment.filename).to eq "Foo_Bla._Report_No._4-2021_with-for_Case_42_Query_report_04-2021_äöü_2023-06-30_23-59.pdf"
+ expected = "Foo_Bla._Report_No._4-2021_with-for_Case_42_Query_report_04-2021_äöü_2023-06-30_23-59.pdf"
+ expect(attachment.filename).to eq expected
end
end
end