diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-01-26 20:03:45 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-01-27 14:27:07 +0000 |
commit | 4ab83117fb5496be8c850925c78f32823593d5b2 (patch) | |
tree | 3121cbd33f8029de785ad9a4c8533e71d2e97c4e /spec/views | |
parent | 4472779b7f93e07558f5afa1b1f6b23564de3ccd (diff) | |
download | gitlab-ce-4ab83117fb5496be8c850925c78f32823593d5b2.tar.gz |
Changes after review
Diffstat (limited to 'spec/views')
-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 |