fix closes account feature

This commit is contained in:
danielgrippi 2012-01-07 14:57:44 -08:00
parent 72d141b0a2
commit 36e13893a3
2 changed files with 3 additions and 7 deletions

View file

@ -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"

View file

@ -35,6 +35,7 @@
return person.diaspora_id == diasporaId
}).id
return "<a href='/people/" + personId + "' class='mention'>" + fullName + "</a>"
})
return text