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>2016-12-26 12:48:30 +0300
committerSean McGivern <sean@mcgivern.me.uk>2016-12-26 12:48:30 +0300
commit0ebd50ce0015a6a1dcd273cada9d9be8c20a12bb (patch)
tree4a92afbdd3e1e473f7d881024b49a36b9d5d3ebb /spec/services/git_push_service_spec.rb
parent645412b57f558d58418aad278c9a3bf421439e1c (diff)
parent3ef4f74b1acc9399db320b53dffc592542de0126 (diff)
Merge branch 'feature/more-storage-statistics' into 'master'
Add more storage statistics See merge request !7754
Diffstat (limited to 'spec/services/git_push_service_spec.rb')
-rw-r--r--spec/services/git_push_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/git_push_service_spec.rb b/spec/services/git_push_service_spec.rb
index 3303e808a9c..2a0f00ce937 100644
--- a/spec/services/git_push_service_spec.rb
+++ b/spec/services/git_push_service_spec.rb
@@ -583,7 +583,7 @@ describe GitPushService, services: true do
service.push_commits = [commit]
expect(ProjectCacheWorker).to receive(:perform_async).
- with(project.id, %i(readme))
+ with(project.id, %i(readme), %i(commit_count repository_size))
service.update_caches
end
@@ -596,7 +596,7 @@ describe GitPushService, services: true do
it 'does not flush any conditional caches' do
expect(ProjectCacheWorker).to receive(:perform_async).
- with(project.id, []).
+ with(project.id, [], %i(commit_count repository_size)).
and_call_original
service.update_caches