diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-11-23 18:25:32 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-11-23 18:25:32 +0800 |
commit | 5ea2628921325bf60abdf9b192abec1f5bcc129e (patch) | |
tree | 25e8cee8f0dd8663e8a1b675d7f4ba3107553b06 /spec/models | |
parent | 66301ce274b42cefe76e343a3d545c8f12d847b2 (diff) | |
download | gitlab-ce-5ea2628921325bf60abdf9b192abec1f5bcc129e.tar.gz |
Fix test description to mention latest pipeline,
feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7333#note_18819886
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/commit_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb index 21590cd4ff1..a16b2e73dd7 100644 --- a/spec/models/commit_spec.rb +++ b/spec/models/commit_spec.rb @@ -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 |