Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-05-09 18:38:38 +0300
committerSean McGivern <sean@mcgivern.me.uk>2017-05-09 18:38:38 +0300
commitc1174901c67f76a10f5a07ce3990af00ca1e0b05 (patch)
tree165476525fdb91309c2634505493766a836adffe /spec/services/git_push_service_spec.rb
parent5354c29352416a606f16c58e65bfbafebfa1ef3c (diff)
parent3107f2e460d8db35f7ddd0cc5f68575233bfc133 (diff)
Merge branch 'deltas-only' into 'master'
Don't use DiffCollection for deltas See merge request !11201
Diffstat (limited to 'spec/services/git_push_service_spec.rb')
-rw-r--r--spec/services/git_push_service_spec.rb2
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 8c2415b4e07..ab06f45dbb9 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]