summaryrefslogtreecommitdiff
path: root/spec/javascripts/boards
diff options
context:
space:
mode:
authorRajat Jain <rjain@gitlab.com>2019-04-02 12:46:21 +0200
committerJan Provaznik <jprovaznik@gitlab.com>2019-04-04 08:06:48 +0200
commit97ab8539968d52b709cd61c2dd4229d404903e14 (patch)
treecbb0638954f81cfe927f65c22a255206bd2fc1f5 /spec/javascripts/boards
parentd0a0d3d3d5043d1497a5cd42e6c6bc073f6a5b58 (diff)
downloadgitlab-ce-97ab8539968d52b709cd61c2dd4229d404903e14.tar.gz
[frontend] backport of scoped labels
Scoped labels in EE require additional changes in CE code.
Diffstat (limited to 'spec/javascripts/boards')
-rw-r--r--spec/javascripts/boards/issue_spec.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/javascripts/boards/issue_spec.js b/spec/javascripts/boards/issue_spec.js
index 54fb0e8228b..e4ff3eb381f 100644
--- a/spec/javascripts/boards/issue_spec.js
+++ b/spec/javascripts/boards/issue_spec.js
@@ -178,6 +178,7 @@ describe('Issue model', () => {
spyOn(Vue.http, 'patch').and.callFake((url, data) => {
expect(data.issue.assignee_ids).toEqual([1]);
done();
+ return Promise.resolve();
});
issue.update('url');
@@ -187,6 +188,7 @@ describe('Issue model', () => {
spyOn(Vue.http, 'patch').and.callFake((url, data) => {
expect(data.issue.assignee_ids).toEqual([0]);
done();
+ return Promise.resolve();
});
issue.removeAllAssignees();