diff --git a/features/closes_account.feature b/features/closes_account.feature index fbd174015..4b5204752 100644 --- a/features/closes_account.feature +++ b/features/closes_account.feature @@ -22,12 +22,7 @@ Feature: Close Account Given a user named "Bob Jones" with email "bob@bob.bob" And a user named "Alice Smith" with email "alice@alice.alice" And a user with email "bob@bob.bob" is connected with "alice@alice.alice" - When I sign in as "alice@alice.alice" - And I am on the home page - And I expand the publisher - And I fill in "status_message_fake_text" with "Hi, @{Bob Jones; bob_jones@example.org} long time no see" - And I press "Share" - And I log out + And Alice has a post mentioning Bob Then I sign in as "bob@bob.bob" When I go to the users edit page @@ -37,4 +32,4 @@ Feature: Close Account And I press "Close Account" in the modal window Then I sign in as "alice@alice.alice" And I am on the home page - Then I should see "Hi, Bob Jones long time no see" + Then I should see "Bob Jones" diff --git a/public/javascripts/app/views/post_content_view.js b/public/javascripts/app/views/post_content_view.js index 358de275b..8c47cb2d0 100644 --- a/public/javascripts/app/views/post_content_view.js +++ b/public/javascripts/app/views/post_content_view.js @@ -35,6 +35,7 @@ return person.diaspora_id == diasporaId }).id + return "" + fullName + "" }) return text