diff --git a/app/views/profile/show.html.erb b/app/views/profile/show.html.erb
index 781f8b8ea81..a251fafa089 100644
--- a/app/views/profile/show.html.erb
+++ b/app/views/profile/show.html.erb
@@ -14,7 +14,7 @@
<%= l(@profile.created_at) %>
<%= ts("My user ID is:") %>
<%= @user.id %>
- <% if @profile.location %>
+ <% if @profile.location.present? %>
<%=h ts("I live in:") %>
<%=h @profile.location %>
<% end %>
diff --git a/features/other_a/profile_edit.feature b/features/other_a/profile_edit.feature
index 62c61c8ba51..4f6186226ca 100644
--- a/features/other_a/profile_edit.feature
+++ b/features/other_a/profile_edit.feature
@@ -17,18 +17,21 @@ Scenario: Add details
When I fill in the details of my profile
Then I should see "Your profile has been successfully updated"
And 0 emails should be delivered
+ And I should see "I live in"
Scenario: Change details
When I change the details in my profile
Then I should see "Your profile has been successfully updated"
And 0 emails should be delivered
+ And I should see "I live in"
Scenario: Remove details
When I remove details from my profile
Then I should see "Your profile has been successfully updated"
And 0 emails should be delivered
+ And I should not see "I live in"
Scenario: Change details as an admin