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
path: root/spec
diff options
context:
space:
mode:
authorJames Lopez <james@gitlab.com>2019-04-08 10:11:44 +0300
committerJames Lopez <james@gitlab.com>2019-04-08 10:11:44 +0300
commitd2cd566f7205f82d83e2fe2f9fa218c7a466cdf6 (patch)
tree3868bbee13523c10b986311ae4160ba65acdfa1b /spec
parent5d6bc189cb15a829612c8e097520d5bd7ded1f4c (diff)
parent021e8790c6091994d3b3e31cbf180939608698da (diff)
Merge branch 'sh-add-gitaly-ref-name-caching-tree-controller' into 'master'
Enable Gitaly FindCommit caching for TreeController See merge request gitlab-org/gitlab-ce!27100
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/projects/tree_controller_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/projects/tree_controller_spec.rb b/spec/controllers/projects/tree_controller_spec.rb
index b15a2bc84a5..78201498eaa 100644
--- a/spec/controllers/projects/tree_controller_spec.rb
+++ b/spec/controllers/projects/tree_controller_spec.rb
@@ -16,6 +16,8 @@ describe Projects::TreeController do
render_views
before do
+ expect(::Gitlab::GitalyClient).to receive(:allow_ref_name_caching).and_call_original
+
get(:show,
params: {
namespace_id: project.namespace.to_param,