From 5a1b03eeafe527e9247754c50707daa521339d4a Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 6 Mar 2019 23:23:39 +0000 Subject: [PATCH] Merged r17931 from trunk to 4.0-stable (#30977). git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17932 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/show.html.erb | 2 +- test/functional/projects_controller_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index e894bcd39..904f86ba0 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -29,7 +29,7 @@
  • <%=l(:field_homepage)%>: <%= link_to_if uri_with_safe_scheme?(@project.homepage), @project.homepage, @project.homepage %>
  • <% end %> <% render_custom_field_values(@project) do |custom_field, formatted| %> -
  • <%= custom_field.name %>: <%= formatted %>
  • +
  • <%= custom_field.name %>: <%= formatted %>
  • <% end %> <% end %> diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index e5b5eaaf4..03a33d584 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -477,7 +477,7 @@ class ProjectsControllerTest < Redmine::ControllerTest } assert_response :success - assert_select 'li', :text => /Development status/ + assert_select 'li[class=?]', 'cf_3', :text => /Development status/ end def test_show_should_not_display_hidden_custom_fields