summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-02-16 16:40:36 +0100
committerJames Lopez <james@jameslopez.es>2016-02-16 16:40:36 +0100
commitb1731adf4385b982348746564e7365b7b70e50fb (patch)
treed1a4fdec37f614657100f2e4d14e62e2826f47f4 /features/project
parent3de6edd6041a725aaffba95603d4eb2912627d42 (diff)
downloadgitlab-ce-b1731adf4385b982348746564e7365b7b70e50fb.tar.gz
workaround for forks with an invalid repo - avoid showing them in the list
Diffstat (limited to 'features/project')
-rw-r--r--features/project/fork.feature7
1 files changed, 7 insertions, 0 deletions
diff --git a/features/project/fork.feature b/features/project/fork.feature
index 12695204e47..5f55b64c4ac 100644
--- a/features/project/fork.feature
+++ b/features/project/fork.feature
@@ -32,6 +32,13 @@ Feature: Project Fork
And I visit the forks page of the "Shop" project
Then I should see my fork on the list
+ Scenario: Viewing forks of a Project that has no repo
+ Given I click link "Fork"
+ When I fork to my namespace
+ And I make forked repo invalid
+ And I visit the forks page of the "Shop" project
+ Then I should not see the invalid fork listed
+
Scenario: Viewing private forks of a Project
Given There is an existent fork of the "Shop" project
And I click link "Fork"