diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2016-11-21 17:08:36 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2016-11-21 17:08:36 +0000 |
commit | 55ca2da7683a33872a25b2402435449435294c93 (patch) | |
tree | ae5daa45d0dd16dbad406e1054db05a9df26607f /spec/requests | |
parent | d3236af1ae8cbe6cc1a0b813789f7ba040550f02 (diff) | |
parent | 289e433685867dbc569adc4e7d137253bb42c3c8 (diff) | |
download | gitlab-ce-55ca2da7683a33872a25b2402435449435294c93.tar.gz |
Merge branch 'smarter-cache-invalidation' into 'master'
Smarter cache invalidation
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/23550
See merge request !7360
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/branches_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/branches_spec.rb b/spec/requests/api/branches_spec.rb index 8f605757186..fe6b875b997 100644 --- a/spec/requests/api/branches_spec.rb +++ b/spec/requests/api/branches_spec.rb @@ -14,7 +14,7 @@ describe API::API, api: true do describe "GET /projects/:id/repository/branches" do it "returns an array of project branches" do - project.repository.expire_cache + project.repository.expire_all_method_caches get api("/projects/#{project.id}/repository/branches", user) expect(response).to have_http_status(200) |