summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-07-17 23:22:40 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-07-17 23:22:40 +0200
commite1d307bf4b88afa59d851918c29ffbb61b01e8c5 (patch)
tree563be912ec72d7af1b37f136492b1da59406e103 /features
parent1591467655b6045108f88e8ac2d8b6a069ef4bb1 (diff)
downloadgitlab-ce-e1d307bf4b88afa59d851918c29ffbb61b01e8c5.tar.gz
Move destroy user feature to spec.
Diffstat (limited to 'features')
-rw-r--r--features/project/star.feature10
-rw-r--r--features/steps/shared/user.rb5
2 files changed, 0 insertions, 15 deletions
diff --git a/features/project/star.feature b/features/project/star.feature
index e6cbc78125b..d8d898155fe 100644
--- a/features/project/star.feature
+++ b/features/project/star.feature
@@ -36,13 +36,3 @@ Feature: Project Star
And I visit project "Community" page
When I click on the star toggle button
Then The project has 2 stars
-
- @javascript
- Scenario: If an user deletes his account his stars are destroyed
- Given I sign in as "John Doe"
- And public project "Community"
- And I visit project "Community" page
- And I click on the star toggle button
- And I delete my account
- When I visit project "Community" page
- Then The project has 0 stars
diff --git a/features/steps/shared/user.rb b/features/steps/shared/user.rb
index f52551c9dc7..209d77c7acf 100644
--- a/features/steps/shared/user.rb
+++ b/features/steps/shared/user.rb
@@ -9,11 +9,6 @@ module SharedUser
user_exists("Mary Jane", {username: "mary_jane"})
end
- step "I delete my account" do
- visit profile_account_path
- click_link "Delete account"
- end
-
protected
def user_exists(name, options = {})