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 test

Christophe Bliard3e45000de300
diff --git a/spec/lib/journal_formatter/cause_spec.rb b/spec/lib/journal_formatter/cause_spec.rb
index 8fc65d0cb15..3b072631489 100644
--- a/spec/lib/journal_formatter/cause_spec.rb
+++ b/spec/lib/journal_formatter/cause_spec.rb
@@ -373,7 +373,7 @@ RSpec.describe OpenProject::JournalFormatter::Cause do
it do
href = OpenProject::Static::Links.links[:blog_article_progress_changes][:href]
expect(subject).to eq "<strong>OpenProject system update:</strong> Progress calculation automatically " \
- "<a href=\"#{href}\">set to work-based mode and adjusted with version update</a>."
+ "<a href=\"#{href}\" target=\"_blank\">set to work-based mode and adjusted with version update</a>."
end
end
@@ -401,7 +401,7 @@ RSpec.describe OpenProject::JournalFormatter::Cause do
it do
href = OpenProject::Static::Links.links[:blog_article_progress_changes][:href]
expect(subject).to eq "<strong>OpenProject system update:</strong> Progress calculation automatically " \
- "<a href=\"#{href}\">adjusted with version update</a>."
+ "<a href=\"#{href}\" target=\"_blank\">adjusted with version update</a>."
end
end