diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-07-23 16:55:39 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-07-23 16:55:39 +0300 |
commit | 6150bf32d7099813e17858e1877832a395f85e65 (patch) | |
tree | 91ea52f752acb8062effeca5824cd914b24bc095 | |
parent | 0687441b91e7548078e4ee35cdfa3895faadd52d (diff) | |
download | gitlab-ce-6150bf32d7099813e17858e1877832a395f85e65.tar.gz |
fix randomly failed spectest_stabilize_stable
-rw-r--r-- | spec/requests/api/branches_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/requests/api/branches_spec.rb b/spec/requests/api/branches_spec.rb index cb6e5e89625..d1e601ac3f8 100644 --- a/spec/requests/api/branches_spec.rb +++ b/spec/requests/api/branches_spec.rb @@ -14,6 +14,8 @@ describe API::API, api: true do describe "GET /projects/:id/repository/branches" do it "should return an array of project branches" do + project.repository.expire_cache + get api("/projects/#{project.id}/repository/branches", user) expect(response.status).to eq(200) expect(json_response).to be_an Array |