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
Jérome Perrin
gitlab-ce
Commits
67d3d0a4
Commit
67d3d0a4
authored
Jun 05, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix header component spec
parent
5578506e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
spec/javascripts/pipelines/header_component_spec.js
spec/javascripts/pipelines/header_component_spec.js
+4
-1
No files found.
spec/javascripts/pipelines/header_component_spec.js
View file @
67d3d0a4
...
@@ -10,6 +10,9 @@ describe('Pipeline details header', () => {
...
@@ -10,6 +10,9 @@ describe('Pipeline details header', () => {
beforeEach
(()
=>
{
beforeEach
(()
=>
{
HeaderComponent
=
Vue
.
extend
(
headerComponent
);
HeaderComponent
=
Vue
.
extend
(
headerComponent
);
const
threeWeeksAgo
=
new
Date
();
threeWeeksAgo
.
setDate
(
threeWeeksAgo
.
getDate
()
-
21
);
props
=
{
props
=
{
pipeline
:
{
pipeline
:
{
details
:
{
details
:
{
...
@@ -22,7 +25,7 @@ describe('Pipeline details header', () => {
...
@@ -22,7 +25,7 @@ describe('Pipeline details header', () => {
},
},
},
},
id
:
123
,
id
:
123
,
created_at
:
'
2017-05-08T14:57:39.781Z
'
,
created_at
:
threeWeeksAgo
.
toISOString
()
,
user
:
{
user
:
{
web_url
:
'
path
'
,
web_url
:
'
path
'
,
name
:
'
Foo
'
,
name
:
'
Foo
'
,
...
...
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