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:
Diffstat (limited to 'features/project/fork.feature')
-rw-r--r--features/project/fork.feature14
1 files changed, 14 insertions, 0 deletions
diff --git a/features/project/fork.feature b/features/project/fork.feature
new file mode 100644
index 00000000000..dc477ca3bf3
--- /dev/null
+++ b/features/project/fork.feature
@@ -0,0 +1,14 @@
+Feature: Fork Project
+ Background:
+ Given I sign in as a user
+ And I am a member of project "Shop"
+ When I visit project "Shop" page
+
+ Scenario: User fork a project
+ Given I click link "Fork"
+ Then I should see the forked project page
+
+ Scenario: User already has forked the project
+ Given I already have a project named "Shop" in my namespace
+ And I click link "Fork"
+ Then I should see a "Name has already been taken" warning