Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRubén Dávila <rdavila84@gmail.com>2016-01-15 20:35:25 +0300
committerRubén Dávila <rdavila84@gmail.com>2016-01-20 08:17:21 +0300
commit99679bc6a09f9bad529bc1e8d6ff365f8e7c0fc1 (patch)
tree2f52fbf69ec75f83895fc0dd415dd87bd6681b3f /features/project/fork.feature
parent833a0f4d9fd4ec8a264812cc42ca52d30d325e13 (diff)
Add specs for Forks listing.
Diffstat (limited to 'features/project/fork.feature')
-rw-r--r--features/project/fork.feature15
1 files changed, 15 insertions, 0 deletions
diff --git a/features/project/fork.feature b/features/project/fork.feature
index 37cd53ee977..12695204e47 100644
--- a/features/project/fork.feature
+++ b/features/project/fork.feature
@@ -25,3 +25,18 @@ Feature: Project Fork
Then I should see "New merge request"
And I click link "New merge request"
Then I should see the new merge request page for my namespace
+
+ Scenario: Viewing forks of a Project
+ Given I click link "Fork"
+ When I fork to my namespace
+ And I visit the forks page of the "Shop" project
+ Then I should see my fork on the list
+
+ Scenario: Viewing private forks of a Project
+ Given There is an existent fork of the "Shop" project
+ And I click link "Fork"
+ When I fork to my namespace
+ And I visit the forks page of the "Shop" project
+ Then I should see my fork on the list
+ And I should not see the other fork listed
+ And I should see a private fork notice