Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/views/projects/builds/show.html.haml_spec.rb')
-rw-r--r--spec/views/projects/builds/show.html.haml_spec.rb4
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