Commit 6cb800a0 authored by Valery Sizov's avatar Valery Sizov

Merge branch 'test_stabilize_stable' into '7-13-stable'

Fix randomly failed spec

https://gitlab.com/gitlab-org/gitlab-ce/issues/2069

See merge request !1035
parents 0687441b 6150bf32
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment