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
ed94bf25
Commit
ed94bf25
authored
Dec 23, 2020
by
Lukas Eipert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prettify two more spec files
We need to prettify those in order to prevent a red master
parent
a223014a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
ee/spec/frontend/boards/stores/actions_spec.js
ee/spec/frontend/boards/stores/actions_spec.js
+6
-5
ee/spec/frontend/pages/admin/users/reset_button_spec.js
ee/spec/frontend/pages/admin/users/reset_button_spec.js
+6
-5
No files found.
ee/spec/frontend/boards/stores/actions_spec.js
View file @
ed94bf25
...
@@ -310,11 +310,12 @@ describe('updateListWipLimit', () => {
...
@@ -310,11 +310,12 @@ describe('updateListWipLimit', () => {
return
actions
return
actions
.
updateListWipLimit
({
state
:
{
activeId
},
getters
},
{
maxIssueCount
,
listId
:
activeId
})
.
updateListWipLimit
({
state
:
{
activeId
},
getters
},
{
maxIssueCount
,
listId
:
activeId
})
.
then
(()
=>
{
.
then
(()
=>
{
expect
(
expect
(
axios
.
put
).
toHaveBeenCalledWith
(
axios
.
put
,
`
${
boardsStoreEE
.
store
.
state
.
endpoints
.
listsEndpoint
}
/
${
activeId
}
`
,
).
toHaveBeenCalledWith
(
`
${
boardsStoreEE
.
store
.
state
.
endpoints
.
listsEndpoint
}
/
${
activeId
}
`
,
{
{
list
:
{
max_issue_count
:
maxIssueCount
},
list
:
{
max_issue_count
:
maxIssueCount
},
});
},
);
});
});
});
});
...
...
ee/spec/frontend/pages/admin/users/reset_button_spec.js
View file @
ed94bf25
...
@@ -85,11 +85,12 @@ describe('Reset pipeline minutes button', () => {
...
@@ -85,11 +85,12 @@ describe('Reset pipeline minutes button', () => {
return
axios
.
waitForAll
().
then
(()
=>
{
return
axios
.
waitForAll
().
then
(()
=>
{
expect
(
axiosSpy
).
toHaveBeenCalled
();
expect
(
axiosSpy
).
toHaveBeenCalled
();
expect
(
expect
(
$toast
.
show
).
toHaveBeenCalledWith
(
$toast
.
show
,
'
There was an error resetting user pipeline minutes.
'
,
).
toHaveBeenCalledWith
(
'
There was an error resetting user pipeline minutes.
'
,
{
{
type
:
'
error
'
,
type
:
'
error
'
,
});
},
);
});
});
});
});
});
});
...
...
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