BigW Consortium Gitlab

Commit 5ea26289 by Lin Jen-Shin

Fix test description to mention latest pipeline,

parent 66301ce2
...@@ -216,7 +216,7 @@ eos ...@@ -216,7 +216,7 @@ eos
end end
end end
it 'gives compound status' do it 'gives compound status from latest pipelines' do
expect(commit.status).to eq(Ci::Pipeline.latest.status) expect(commit.status).to eq(Ci::Pipeline.latest.status)
end end
end end
...@@ -243,7 +243,7 @@ eos ...@@ -243,7 +243,7 @@ eos
expect(commit.status('fix')).to eq(pipeline_from_fix.status) expect(commit.status('fix')).to eq(pipeline_from_fix.status)
end 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) expect(commit.status(nil)).to eq(Ci::Pipeline.latest.status)
end end
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