Fix test description to mention latest pipeline,
feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7333#note_18819886
This commit is contained in:
parent
66301ce274
commit
5ea2628921
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue