diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/views/projects/builds/show.html.haml_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/views/projects/builds/show.html.haml_spec.rb b/spec/views/projects/builds/show.html.haml_spec.rb index 585906b9d31..44870cfcfb3 100644 --- a/spec/views/projects/builds/show.html.haml_spec.rb +++ b/spec/views/projects/builds/show.html.haml_spec.rb @@ -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 |