fix closes account feature
This commit is contained in:
parent
72d141b0a2
commit
36e13893a3
2 changed files with 3 additions and 7 deletions
|
|
@ -22,12 +22,7 @@ Feature: Close Account
|
||||||
Given a user named "Bob Jones" with email "bob@bob.bob"
|
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 named "Alice Smith" with email "alice@alice.alice"
|
||||||
And a user with email "bob@bob.bob" is connected with "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 Alice has a post mentioning Bob
|
||||||
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
|
|
||||||
|
|
||||||
Then I sign in as "bob@bob.bob"
|
Then I sign in as "bob@bob.bob"
|
||||||
When I go to the users edit page
|
When I go to the users edit page
|
||||||
|
|
@ -37,4 +32,4 @@ Feature: Close Account
|
||||||
And I press "Close Account" in the modal window
|
And I press "Close Account" in the modal window
|
||||||
Then I sign in as "alice@alice.alice"
|
Then I sign in as "alice@alice.alice"
|
||||||
And I am on the home page
|
And I am on the home page
|
||||||
Then I should see "Hi, Bob Jones long time no see"
|
Then I should see "Bob Jones"
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@
|
||||||
return person.diaspora_id == diasporaId
|
return person.diaspora_id == diasporaId
|
||||||
}).id
|
}).id
|
||||||
|
|
||||||
|
|
||||||
return "<a href='/people/" + personId + "' class='mention'>" + fullName + "</a>"
|
return "<a href='/people/" + personId + "' class='mention'>" + fullName + "</a>"
|
||||||
})
|
})
|
||||||
return text
|
return text
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue