summaryrefslogtreecommitdiff
path: root/features/project/fork.feature
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-01-28 18:14:28 +0100
committerJames Lopez <james@jameslopez.es>2016-01-28 18:14:28 +0100
commit69c4e0a1197b21bf0b4925edcda0943be9e0e641 (patch)
treef9bb71e9375cdf683de5616927ed7d3f5330684b /features/project/fork.feature
parent902baa2e1c68eca33cc832fe334fd149e3880ee4 (diff)
parent88e16c3d19cbdf4452af713ecc07989dbd3c35f0 (diff)
downloadgitlab-ce-69c4e0a1197b21bf0b4925edcda0943be9e0e641.tar.gz
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into hotfix/ruby-21-broken-update
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