diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2019-04-02 17:29:49 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2019-04-02 17:29:49 +0300 |
commit | 723f936fb1805ccd4c0d03f6f8599dbc4a2f5570 (patch) | |
tree | bebe2756a26d47e4fbf7ab232289662fe0baecd7 /spec/controllers | |
parent | 8b9da458ec31d053da0a26cf7b23ecf2f8baa8a6 (diff) | |
parent | e37383d45395c0c7cefc1dda3be12bd4c2d6cc4f (diff) |
Merge branch 'sh-cache-pipeline-find-commits' into 'master'
Cache FindCommit results in pipelines view
See merge request gitlab-org/gitlab-ce!26776
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/projects/pipelines_controller_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/projects/pipelines_controller_spec.rb b/spec/controllers/projects/pipelines_controller_spec.rb index ece8532cb84..b64ae552efc 100644 --- a/spec/controllers/projects/pipelines_controller_spec.rb +++ b/spec/controllers/projects/pipelines_controller_spec.rb @@ -28,6 +28,8 @@ describe Projects::PipelinesController do end it 'returns serialized pipelines', :request_store do + expect(::Gitlab::GitalyClient).to receive(:allow_ref_name_caching).and_call_original + queries = ActiveRecord::QueryRecorder.new do get_pipelines_index_json end |