Changes after review
This commit is contained in:
parent
4472779b7f
commit
4ab83117fb
2 changed files with 5 additions and 3 deletions
|
@ -6,6 +6,4 @@
|
|||
= custom_icon(status.icon)
|
||||
= status.text
|
||||
- else
|
||||
%span{ class: css_classes }
|
||||
= custom_icon(status.icon)
|
||||
= status.text
|
||||
= render "ci/status/badge", status: status
|
||||
|
|
|
@ -28,6 +28,10 @@ describe 'projects/builds/show', :view do
|
|||
expect(rendered).to have_css('.ci-status.ci-success', text: 'passed')
|
||||
end
|
||||
|
||||
it 'does not render a link to the build' do
|
||||
expect(rendered).not_to have_link('passed')
|
||||
end
|
||||
|
||||
it 'shows build id' do
|
||||
expect(rendered).to have_css('.js-build-id', text: build.id)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue