diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-15 17:28:29 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-24 09:55:01 -0600 |
commit | faa2e2df8fb95655ebfb8523689295e223005d9d (patch) | |
tree | b31b33532ddbc7d4966b33e446a27d8c99632261 /spec/services | |
parent | 0625af3bcb75b3186a3286eee662a7ff8442f130 (diff) | |
download | gitlab-ce-faa2e2df8fb95655ebfb8523689295e223005d9d.tar.gz |
Rename commit_file, commit_dir and remove_file and update specs
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/merge_requests/resolve_service_spec.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/services/merge_requests/resolve_service_spec.rb b/spec/services/merge_requests/resolve_service_spec.rb index c3b468ac47f..d33535d22af 100644 --- a/spec/services/merge_requests/resolve_service_spec.rb +++ b/spec/services/merge_requests/resolve_service_spec.rb @@ -66,13 +66,12 @@ describe MergeRequests::ResolveService do context 'when the source project is a fork and does not contain the HEAD of the target branch' do let!(:target_head) do - project.repository.commit_file( + project.repository.create_file( user, 'new-file-in-target', '', message: 'Add new file in target', - branch_name: 'conflict-start', - update: false) + branch_name: 'conflict-start') end before do |