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
Boxiang Sun
gitlab-ce
Commits
4c186f99
Commit
4c186f99
authored
Oct 19, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed failing title test
parent
60ce5155
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
app/assets/javascripts/repo/helpers/repo_helper.js
app/assets/javascripts/repo/helpers/repo_helper.js
+1
-0
spec/javascripts/repo/components/repo_file_spec.js
spec/javascripts/repo/components/repo_file_spec.js
+1
-0
No files found.
app/assets/javascripts/repo/helpers/repo_helper.js
View file @
4c186f99
...
@@ -8,6 +8,7 @@ const RepoHelper = {
...
@@ -8,6 +8,7 @@ const RepoHelper = {
getDefaultActiveFile
()
{
getDefaultActiveFile
()
{
return
{
return
{
id
:
''
,
active
:
true
,
active
:
true
,
binary
:
false
,
binary
:
false
,
extension
:
''
,
extension
:
''
,
...
...
spec/javascripts/repo/components/repo_file_spec.js
View file @
4c186f99
...
@@ -7,6 +7,7 @@ import { file } from '../mock_data';
...
@@ -7,6 +7,7 @@ import { file } from '../mock_data';
describe
(
'
RepoFile
'
,
()
=>
{
describe
(
'
RepoFile
'
,
()
=>
{
const
updated
=
'
updated
'
;
const
updated
=
'
updated
'
;
const
otherFile
=
{
const
otherFile
=
{
id
:
'
test
'
,
html
:
'
<p class="file-content">html</p>
'
,
html
:
'
<p class="file-content">html</p>
'
,
pageTitle
:
'
otherpageTitle
'
,
pageTitle
:
'
otherpageTitle
'
,
};
};
...
...
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