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
75bb63eb
Commit
75bb63eb
authored
Jul 21, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve text for codeclimate report
parent
f58986b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/vue_merge_request_widget/ee/components/mr_widget_code_quality.vue
...e_request_widget/ee/components/mr_widget_code_quality.vue
+1
-1
spec/javascripts/vue_mr_widget/components/mr_widget_code_quality_spec.js
...s/vue_mr_widget/components/mr_widget_code_quality_spec.js
+1
-1
No files found.
app/assets/javascripts/vue_merge_request_widget/ee/components/mr_widget_code_quality.vue
View file @
75bb63eb
...
...
@@ -55,7 +55,7 @@ export default {
let
text
=
[];
if
(
this
.
hasNoneIssues
)
{
text
.
push
(
'
No changes to code quality
so far
.
'
);
text
.
push
(
'
No changes to code quality.
'
);
}
else
if
(
this
.
hasIssues
)
{
if
(
newIssues
.
length
)
{
newIssuesText
=
` degraded on
${
newIssues
.
length
}
${
this
.
pointsText
(
newIssues
)}
`
;
...
...
spec/javascripts/vue_mr_widget/components/mr_widget_code_quality_spec.js
View file @
75bb63eb
...
...
@@ -162,7 +162,7 @@ describe('Merge Request Code Quality', () => {
setTimeout
(()
=>
{
expect
(
vm
.
$el
.
querySelector
(
'
span:nth-child(2)
'
).
textContent
.
trim
(),
).
toEqual
(
'
No changes to code quality
so far
.
'
);
).
toEqual
(
'
No changes to code quality.
'
);
done
();
},
0
);
});
...
...
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