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
4fdfa421
Commit
4fdfa421
authored
May 05, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix FE part of issues spec
parent
7b5c9521
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
app/assets/javascripts/sidebar/components/assignees/sidebar_assignees.js
...scripts/sidebar/components/assignees/sidebar_assignees.js
+4
-6
spec/features/issues_spec.rb
spec/features/issues_spec.rb
+1
-1
No files found.
app/assets/javascripts/sidebar/components/assignees/sidebar_assignees.js
View file @
4fdfa421
...
...
@@ -33,14 +33,12 @@ export default {
saveAssignees
()
{
this
.
loading
=
true
;
function
setLoadingFalse
()
{
this
.
loading
=
false
;
}
this
.
mediator
.
saveAssignees
(
this
.
field
)
.
then
(
setLoadingFalse
.
bind
(
this
))
.
then
(()
=>
{
this
.
loading
=
false
;
})
.
catch
(()
=>
{
setLoadingFalse
()
;
this
.
loading
=
false
;
return
new
Flash
(
'
Error occurred when saving assignees
'
);
});
},
...
...
spec/features/issues_spec.rb
View file @
4fdfa421
...
...
@@ -742,7 +742,7 @@ describe 'Issues', feature: true do
include
WaitForVueResource
it
'updates the title'
,
js:
true
do
issue
=
create
(
:issue
,
author:
@user
,
assignee
:
@user
,
project:
project
,
title:
'new title'
)
issue
=
create
(
:issue
,
author:
@user
,
assignee
s:
[
@user
]
,
project:
project
,
title:
'new title'
)
visit
namespace_project_issue_path
(
project
.
namespace
,
project
,
issue
)
...
...
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