Index: app/views/users/show.html.erb
===================================================================
--- app/views/users/show.html.erb (リビジョン 17934)
+++ app/views/users/show.html.erb (作業コピー)
@@ -13,7 +13,7 @@
<% end %>
<% @user.visible_custom_field_values.each do |custom_value| %>
<% if !custom_value.value.blank? %>
-
<%= custom_value.custom_field.name %>: <%= show_value(custom_value) %>
+ <%= custom_value.custom_field.name %>: <%= show_value(custom_value) %>
<% end %>
<% end %>
<%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %>
Index: test/functional/users_controller_test.rb
===================================================================
--- test/functional/users_controller_test.rb (リビジョン 17934)
+++ test/functional/users_controller_test.rb (作業コピー)
@@ -118,7 +118,7 @@
get :show, :params => {:id => 2}
assert_response :success
- assert_select 'li', :text => /Phone number/
+ assert_select 'li[class=?]', 'cf_4', :text => /Phone number/
end
def test_show_should_not_display_hidden_custom_fields