summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-08-25 12:59:21 -0500
committerDouwe Maan <douwe@selenight.nl>2016-08-25 12:59:21 -0500
commitbbd9a6fe405d0df1c7c9ad09b7c3ff6a0201953f (patch)
treeebe142b4a13ff41691fdc75b348e718c3989a2df /features
parent532489dc045d6f0c6a215889be3f1d39097d1c83 (diff)
parenta943ccf10ecf2af3331927cb83268fbc70f43634 (diff)
downloadgitlab-ce-bbd9a6fe405d0df1c7c9ad09b7c3ff6a0201953f.tar.gz
Merge branch 'dz-merge-request-version'
Diffstat (limited to 'features')
-rw-r--r--features/project/merge_requests.feature2
-rw-r--r--features/steps/project/merge_requests.rb6
2 files changed, 4 insertions, 4 deletions
diff --git a/features/project/merge_requests.feature b/features/project/merge_requests.feature
index 967f2edb243..5aa592e9067 100644
--- a/features/project/merge_requests.feature
+++ b/features/project/merge_requests.feature
@@ -24,7 +24,7 @@ Feature: Project Merge Requests
Scenario: I should see target branch when it is different from default
Given project "Shop" have "Bug NS-06" open merge request
When I visit project "Shop" merge requests page
- Then I should see "other_branch" branch
+ Then I should see "feature_conflict" branch
Scenario: I should not see the numbers of diverged commits if the branch is rebased on the target
Given project "Shop" have "Bug NS-07" open merge request with rebased branch
diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb
index 9778ff4a6c7..56b28949585 100644
--- a/features/steps/project/merge_requests.rb
+++ b/features/steps/project/merge_requests.rb
@@ -58,8 +58,8 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
expect(find('.merge-request-info')).not_to have_content "master"
end
- step 'I should see "other_branch" branch' do
- expect(page).to have_content "other_branch"
+ step 'I should see "feature_conflict" branch' do
+ expect(page).to have_content "feature_conflict"
end
step 'I should see "Bug NS-04" in merge requests' do
@@ -124,7 +124,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
source_project: project,
target_project: project,
source_branch: 'fix',
- target_branch: 'other_branch',
+ target_branch: 'feature_conflict',
author: project.users.first,
description: "# Description header"
)