summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-06-29 11:57:06 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-06-29 11:57:06 +0000
commit88c60307bd1f215095834f09a1a5cb18701ac8ad (patch)
tree2d9343109bcdf6bcc3ba19ef6b9f7186e361465c /features
parent971604de4cfa324d91c41650fabc129420c8d1cc (diff)
parent70b05a83772abc59b3c914c84bc4d2c07749884d (diff)
downloadgitlab-ce-88c60307bd1f215095834f09a1a5cb18701ac8ad.tar.gz
Merge branch 'dm-merge-request-creations-controller' into 'master'
Split up MergeRequestsController See merge request !12150
Diffstat (limited to 'features')
-rw-r--r--features/steps/dashboard/dashboard.rb2
-rw-r--r--features/steps/project/source/browse_files.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/dashboard/dashboard.rb b/features/steps/dashboard/dashboard.rb
index 71c69a4fdea..3c06b188f3e 100644
--- a/features/steps/dashboard/dashboard.rb
+++ b/features/steps/dashboard/dashboard.rb
@@ -27,7 +27,7 @@ class Spinach::Features::Dashboard < Spinach::FeatureSteps
step 'I see prefilled new Merge Request page' do
expect(page).to have_selector('.merge-request-form')
- expect(current_path).to eq new_namespace_project_merge_request_path(@project.namespace, @project)
+ expect(current_path).to eq namespace_project_new_merge_request_path(@project.namespace, @project)
expect(find("#merge_request_target_project_id").value).to eq @project.id.to_s
expect(find("input#merge_request_source_branch").value).to eq "fix"
expect(find("input#merge_request_target_branch").value).to eq "master"
diff --git a/features/steps/project/source/browse_files.rb b/features/steps/project/source/browse_files.rb
index 9ed4f8ea1f9..02434319a08 100644
--- a/features/steps/project/source/browse_files.rb
+++ b/features/steps/project/source/browse_files.rb
@@ -266,12 +266,12 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
end
step 'I am redirected to the new merge request page' do
- expect(current_path).to eq(new_namespace_project_merge_request_path(@project.namespace, @project))
+ expect(current_path).to eq(namespace_project_new_merge_request_path(@project.namespace, @project))
end
step "I am redirected to the fork's new merge request page" do
fork = @user.fork_of(@project)
- expect(current_path).to eq(new_namespace_project_merge_request_path(fork.namespace, fork))
+ expect(current_path).to eq(namespace_project_new_merge_request_path(fork.namespace, fork))
end
step 'I am redirected to the root directory' do