summaryrefslogtreecommitdiff
path: root/spec/javascripts/boards/issue_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/javascripts/boards/issue_spec.js')
-rw-r--r--spec/javascripts/boards/issue_spec.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/javascripts/boards/issue_spec.js b/spec/javascripts/boards/issue_spec.js
index ccde657789a..10b88878c2a 100644
--- a/spec/javascripts/boards/issue_spec.js
+++ b/spec/javascripts/boards/issue_spec.js
@@ -146,6 +146,12 @@ describe('Issue model', () => {
expect(issue.isFetching.subscriptions).toBe(false);
});
+ it('sets loading state', () => {
+ issue.setLoadingState('foo', true);
+
+ expect(issue.isLoading.foo).toBe(true);
+ });
+
describe('update', () => {
it('passes assignee ids when there are assignees', (done) => {
spyOn(Vue.http, 'patch').and.callFake((url, data) => {