Commit 5ea26289 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Fix test description to mention latest pipeline,

feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7333#note_18819886
parent 66301ce2
......@@ -216,7 +216,7 @@ eos
end
end
it 'gives compound status' do
it 'gives compound status from latest pipelines' do
expect(commit.status).to eq(Ci::Pipeline.latest.status)
end
end
......@@ -243,7 +243,7 @@ eos
expect(commit.status('fix')).to eq(pipeline_from_fix.status)
end
it 'gives compound status if ref is nil' do
it 'gives compound status from latest pipelines if ref is nil' do
expect(commit.status(nil)).to eq(Ci::Pipeline.latest.status)
end
end
......
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