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

Revert PDF export spec adaptation

Aaron Contreras63ec4f4b770e
diff --git a/spec/models/work_packages/pdf_export/work_package_to_pdf_spec.rb b/spec/models/work_packages/pdf_export/work_package_to_pdf_spec.rb
index d59a63fcd8b..0316600ee6f 100644
--- a/spec/models/work_packages/pdf_export/work_package_to_pdf_spec.rb
+++ b/spec/models/work_packages/pdf_export/work_package_to_pdf_spec.rb
@@ -143,9 +143,8 @@ RSpec.describe WorkPackage::PDFExport::WorkPackageToPdf do
'amet', ', consetetur sadipscing elitr.', ' ', '@OpenProject Admin',
'Image Caption',
'Foo',
- '1', export_time_formatted, project.name,
'LongText', 'foo',
- '2', export_time_formatted, project.name
+ '1', export_time_formatted, project.name
].join(' ')
expect(result).to eq(expected_result)
expect(result).not_to include('DisabledCustomField')