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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
a20566e2
Commit
a20566e2
authored
Apr 19, 2018
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken spec
parent
98989900
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
app/assets/javascripts/vue_shared/components/ci_icon.vue
app/assets/javascripts/vue_shared/components/ci_icon.vue
+0
-2
spec/javascripts/vue_shared/components/ci_icon_spec.js
spec/javascripts/vue_shared/components/ci_icon_spec.js
+1
-1
No files found.
app/assets/javascripts/vue_shared/components/ci_icon.vue
View file @
a20566e2
...
...
@@ -27,14 +27,12 @@ export default {
components
:
{
Icon
,
},
props
:
{
status
:
{
type
:
Object
,
required
:
true
,
},
},
computed
:
{
cssClass
()
{
const
status
=
this
.
status
.
group
;
...
...
spec/javascripts/vue_shared/components/ci_icon_spec.js
View file @
a20566e2
...
...
@@ -27,7 +27,7 @@ describe('CI Icon component', () => {
icon
:
'
icon_status_success
'
,
group
:
'
success
'
,
},
})
()
;
});
expect
(
vm
.
$el
.
classList
.
contains
(
'
ci-status-icon-success
'
)).
toEqual
(
true
);
});
...
...
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