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
3aec0499
Commit
3aec0499
authored
Nov 23, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflict in spec/javascripts/environments/folder/environments_folder_view_spec.js
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
902f588f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
spec/javascripts/environments/folder/environments_folder_view_spec.js
...ipts/environments/folder/environments_folder_view_spec.js
+0
-25
No files found.
spec/javascripts/environments/folder/environments_folder_view_spec.js
View file @
3aec0499
...
@@ -95,11 +95,7 @@ describe('Environments Folder View', () => {
...
@@ -95,11 +95,7 @@ describe('Environments Folder View', () => {
it
(
'
should render parent folder name
'
,
(
done
)
=>
{
it
(
'
should render parent folder name
'
,
(
done
)
=>
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
expect
(
expect
(
<<<<<<<
HEAD
component
.
$el
.
querySelector
(
'
.js-folder-name
'
).
textContent
.
trim
(),
=======
component
.
$el
.
querySelector
(
'
.js-folder-name
'
).
textContent
,
component
.
$el
.
querySelector
(
'
.js-folder-name
'
).
textContent
,
>>>>>>>
origin
/
master
).
toContain
(
'
Environments / review
'
);
).
toContain
(
'
Environments / review
'
);
done
();
done
();
},
0
);
},
0
);
...
@@ -111,30 +107,10 @@ describe('Environments Folder View', () => {
...
@@ -111,30 +107,10 @@ describe('Environments Folder View', () => {
expect
(
expect
(
component
.
$el
.
querySelectorAll
(
'
.gl-pagination
'
),
component
.
$el
.
querySelectorAll
(
'
.gl-pagination
'
),
).
not
.
toBeNull
();
).
not
.
toBeNull
();
<<<<<<<
HEAD
done
();
done
();
},
0
);
},
0
);
});
});
it
(
'
should make an API request when changing page
'
,
(
done
)
=>
{
spyOn
(
component
,
'
updateContent
'
);
setTimeout
(()
=>
{
component
.
$el
.
querySelector
(
'
.gl-pagination .js-last-button a
'
).
click
();
expect
(
component
.
updateContent
).
toHaveBeenCalledWith
({
scope
:
component
.
scope
,
page
:
'
10
'
});
=======
>>>>>>>
origin
/
master
done
();
},
0
);
});
<<<<<<<
HEAD
it
(
'
should make an API request when using tabs
'
,
(
done
)
=>
{
setTimeout
(()
=>
{
spyOn
(
component
,
'
updateContent
'
);
component
.
$el
.
querySelector
(
'
.js-environments-tab-stopped
'
).
click
();
=======
it
(
'
should make an API request when changing page
'
,
(
done
)
=>
{
it
(
'
should make an API request when changing page
'
,
(
done
)
=>
{
spyOn
(
component
,
'
updateContent
'
);
spyOn
(
component
,
'
updateContent
'
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
@@ -148,7 +124,6 @@ describe('Environments Folder View', () => {
...
@@ -148,7 +124,6 @@ describe('Environments Folder View', () => {
setTimeout
(()
=>
{
setTimeout
(()
=>
{
spyOn
(
component
,
'
updateContent
'
);
spyOn
(
component
,
'
updateContent
'
);
component
.
$el
.
querySelector
(
'
.js-environments-tab-stopped
'
).
click
();
component
.
$el
.
querySelector
(
'
.js-environments-tab-stopped
'
).
click
();
>>>>>>>
origin
/
master
expect
(
component
.
updateContent
).
toHaveBeenCalledWith
({
scope
:
'
stopped
'
,
page
:
'
1
'
});
expect
(
component
.
updateContent
).
toHaveBeenCalledWith
({
scope
:
'
stopped
'
,
page
:
'
1
'
});
done
();
done
();
});
});
...
...
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