diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2018-10-26 14:09:41 +1100 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2018-10-26 14:09:41 +1100 |
commit | 4fc53067f0d6e135b6e71654c79ae0db672eee4c (patch) | |
tree | 615ff5d34503533d4154ac80c06a5e96363d4679 /spec/features/projects/files/user_creates_files_spec.rb | |
parent | e40f8f27a1ad56d55b321a2891675bd85c440147 (diff) | |
download | gitlab-ce-4fc53067f0d6e135b6e71654c79ae0db672eee4c.tar.gz |
Fix specs
Diffstat (limited to 'spec/features/projects/files/user_creates_files_spec.rb')
-rw-r--r-- | spec/features/projects/files/user_creates_files_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/files/user_creates_files_spec.rb b/spec/features/projects/files/user_creates_files_spec.rb index d4dda43c823..d9df4b50621 100644 --- a/spec/features/projects/files/user_creates_files_spec.rb +++ b/spec/features/projects/files/user_creates_files_spec.rb @@ -144,7 +144,7 @@ describe 'Projects > Files > User creates files' 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') @@ -182,7 +182,7 @@ describe 'Projects > Files > User creates files' 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")) expect(page).to have_content('New commit message') end end |