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:
authorFilipa Lacerda <filipa@gitlab.com>2017-01-26 23:03:45 +0300
committerFilipa Lacerda <filipa@gitlab.com>2017-01-27 17:27:07 +0300
commit4ab83117fb5496be8c850925c78f32823593d5b2 (patch)
tree3121cbd33f8029de785ad9a4c8533e71d2e97c4e /spec/views
parent4472779b7f93e07558f5afa1b1f6b23564de3ccd (diff)
Changes after review
Diffstat (limited to 'spec/views')
-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