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 project_details_spec

Henriette Darge36c3551c281a
diff --git a/modules/dashboards/spec/features/project_details_spec.rb b/modules/dashboards/spec/features/project_details_spec.rb
index 69a2d861949..0e81b3930dd 100644
--- a/modules/dashboards/spec/features/project_details_spec.rb
+++ b/modules/dashboards/spec/features/project_details_spec.rb
@@ -143,7 +143,7 @@ describe 'Project details widget on dashboard', type: :feature, js: true do
expect(page)
.to have_content("#{date_cf.name}\n#{Date.today.strftime('%m/%d/%Y')}")
expect(page)
- .to have_content("#{user_cf.name}\n#{other_user.name.split.map(&:first).join}#{other_user.name}")
+ .to have_content("#{user_cf.name}\n#{other_user.name.split.map(&:first).join}\n#{other_user.name}")
# The fields are not editable
field = EditField.new dashboard_page, "customField#{bool_cf.id}"