diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-05-09 12:27:17 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-05-09 12:27:17 +0200 |
commit | 48254d187f421dfeb85a84bf2b86399add6e6a67 (patch) | |
tree | 1c816bf6defc73c0a50f0a287367e9518a0b0a02 /spec | |
parent | 62b0eb2c0ba02d2a9c9515722dfcb7ec61b7fc6a (diff) | |
download | gitlab-ce-48254d187f421dfeb85a84bf2b86399add6e6a67.tar.gz |
Don't use DiffCollection for deltas
Diffstat (limited to 'spec')
-rw-r--r-- | spec/services/git_push_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/git_push_service_spec.rb b/spec/services/git_push_service_spec.rb index 0477cac6677..39908dd103a 100644 --- a/spec/services/git_push_service_spec.rb +++ b/spec/services/git_push_service_spec.rb @@ -584,7 +584,7 @@ describe GitPushService, services: true do commit = double(:commit) diff = double(:diff, new_path: 'README.md') - expect(commit).to receive(:raw_diffs).with(deltas_only: true). + expect(commit).to receive(:raw_deltas). and_return([diff]) service.push_commits = [commit] |