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:
authorJosh Frye <joshfng@mbp.local>2015-12-23 18:20:07 +0300
committerJosh Frye <joshfng@gmail.com>2016-01-04 02:12:27 +0300
commit8bfc46451eae5bd92380b9fbdf91b9636d55066c (patch)
treedd3f3348c97ab4c86f0d168f788decda00316a79 /features/project
parentbfb3c8d936eaafc33b00f7a1fb7644e3330ffabf (diff)
Show 'New Merge Request' buttons on canonical repo.
Diffstat (limited to 'features/project')
-rw-r--r--features/project/fork.feature10
1 files changed, 10 insertions, 0 deletions
diff --git a/features/project/fork.feature b/features/project/fork.feature
index 22f68e5b340..40849352370 100644
--- a/features/project/fork.feature
+++ b/features/project/fork.feature
@@ -1,3 +1,4 @@
+@forks
Feature: Project Fork
Background:
Given I sign in as a user
@@ -14,3 +15,12 @@ Feature: Project Fork
And I click link "Fork"
When I fork to my namespace
Then I should see a "Name has already been taken" warning
+
+ Scenario: Merge request on canonical repo goes to fork merge request page
+ Given I click link "Fork"
+ And I fork to my namespace
+ Then I should see the forked project page
+ When I visit project "Shop" page
+ Then I should see "New merge request"
+ And I goto the Merge Requests page
+ Then I should see "New merge request"