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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
fix specs for export footer changes
as-opc29354a30d20
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.rbindex dd17000ba08..767475eb606 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@@ -178,12 +178,16 @@ RSpec.describe WorkPackage::PDFExport::WorkPackageToPdf doauthor: another_user,assigned_to: another_user).tap do |wp|- allow(wp)- .to receive(:attachments)- .and_return attachments- end+ allow(wp)+ .to receive(:attachments)+ .and_return attachments+ endend- let(:options) { {} }+ let(:options) {+ {+ footer_text_right: project.name+ }+ }let(:exporter) dodescribed_class.new(work_package, options)end