Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
4ab83117
Commit
4ab83117
authored
Jan 26, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes after review
parent
4472779b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
app/views/ci/status/_badge_link.html.haml
app/views/ci/status/_badge_link.html.haml
+1
-3
spec/views/projects/builds/show.html.haml_spec.rb
spec/views/projects/builds/show.html.haml_spec.rb
+4
-0
No files found.
app/views/ci/status/_badge_link.html.haml
View file @
4ab83117
...
...
@@ -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
spec/views/projects/builds/show.html.haml_spec.rb
View file @
4ab83117
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment