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 call to helper in component

Christophe Bliarda0a9748cf550
diff --git a/app/components/projects/row_component.html.erb b/app/components/projects/row_component.html.erb
index e20e6e7ddca..9a87c6e1eef 100644
--- a/app/components/projects/row_component.html.erb
+++ b/app/components/projects/row_component.html.erb
@@ -63,7 +63,7 @@ See COPYRIGHT and LICENSE files for more details.
<td></td>
<td colspan="<%= columns.length%>" class="project--hierarchy">
<div class="description-container wiki">
- <%= helpers.format_text(short_project_description(project), project: project) %>
+ <%= helpers.format_text(helpers.short_project_description(project), project: project) %>
</div>
</td>
</tr>
diff --git a/spec/features/projects/projects_index_spec.rb b/spec/features/projects/projects_index_spec.rb
index 9862bfa6b45..25bdc23b811 100644
--- a/spec/features/projects/projects_index_spec.rb
+++ b/spec/features/projects/projects_index_spec.rb
@@ -124,7 +124,7 @@ describe 'Projects index page',
describe 'for admins' do
before do
- project.update(created_at: 7.days.ago)
+ project.update(created_at: 7.days.ago, description: 'I am a nice project')
news
end