summaryrefslogtreecommitdiff
path: root/features/project/fork.feature
diff options
context:
space:
mode:
authorCiro Santillli <ciro.santilli@gmail.com>2014-02-23 10:04:56 +0100
committerCiro Santillli <ciro.santilli@gmail.com>2014-02-23 10:34:39 +0100
commit170340e6b15f91e79cf683c892ec887c3115b317 (patch)
tree19cf1f82b08201295b3e66170a967e813c522189 /features/project/fork.feature
parente868de687da060a109bd67fd492ed110eb134d47 (diff)
downloadgitlab-ce-170340e6b15f91e79cf683c892ec887c3115b317.tar.gz
Remove dir prefix and suffix from tests inside dir.
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