summaryrefslogtreecommitdiff
path: root/spec/features/projects/files/user_edits_files_spec.rb
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2018-10-26 14:09:41 +1100
committerblackst0ne <blackst0ne.ru@gmail.com>2018-10-26 14:09:41 +1100
commit4fc53067f0d6e135b6e71654c79ae0db672eee4c (patch)
tree615ff5d34503533d4154ac80c06a5e96363d4679 /spec/features/projects/files/user_edits_files_spec.rb
parente40f8f27a1ad56d55b321a2891675bd85c440147 (diff)
downloadgitlab-ce-4fc53067f0d6e135b6e71654c79ae0db672eee4c.tar.gz
Fix specs
Diffstat (limited to 'spec/features/projects/files/user_edits_files_spec.rb')
-rw-r--r--spec/features/projects/files/user_edits_files_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/projects/files/user_edits_files_spec.rb b/spec/features/projects/files/user_edits_files_spec.rb
index 9eb65ec159c..c6b2aaea906 100644
--- a/spec/features/projects/files/user_edits_files_spec.rb
+++ b/spec/features/projects/files/user_edits_files_spec.rb
@@ -86,7 +86,7 @@ describe 'Projects > Files > User edits files', :js do
fill_in(:branch_name, with: 'new_branch_name', visible: true)
click_button('Commit changes')
- expect(current_path).to eq(project_new_merge_request_path(project))
+ expect(current_path).to eq(project_new_merge_request_path(project, merge_request_source_branch: "new_branch_name"))
click_link('Changes')
@@ -155,7 +155,7 @@ describe 'Projects > Files > User edits files', :js do
fork = user.fork_of(project2.reload)
- expect(current_path).to eq(project_new_merge_request_path(fork))
+ expect(current_path).to eq(project_new_merge_request_path(fork, merge_request_source_branch: "patch-1"))
wait_for_requests
@@ -183,7 +183,7 @@ describe 'Projects > Files > User edits files', :js do
fork = user.fork_of(project2)
- expect(current_path).to eq(project_new_merge_request_path(fork))
+ expect(current_path).to eq(project_new_merge_request_path(fork, merge_request_source_branch: "patch-1"))
wait_for_requests