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

remove unnecessary new lines in the test

as-op3ff02731bdd6
diff --git a/spec/models/work_package/pdf_export/common/macro_spec.rb b/spec/models/work_package/pdf_export/common/macro_spec.rb
index b70e0c67f6c..427c7fad596 100644
--- a/spec/models/work_package/pdf_export/common/macro_spec.rb
+++ b/spec/models/work_package/pdf_export/common/macro_spec.rb
@@ -125,7 +125,7 @@ RSpec.describe WorkPackage::PDFExport::Common::Macro do
end
describe "with markdown formating bold" do
- let(:markdown) { "\n**##{work_package.id}**\n" }
+ let(:markdown) { "**##{work_package.id}**" }
it "contains correct data" do
expect(formatted).to eq("**#{expected_tag}**")