summaryrefslogtreecommitdiff
path: root/spec/javascripts/issue_spec.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-12-13 23:26:26 -0600
committerMike Greiling <mike@pixelcog.com>2016-12-14 02:11:13 -0600
commit8e0e902b133f33b38ffaa743ac3f3297b4bceb2d (patch)
tree6f35057e1dcf2de5c959d7007986b72c23dfb948 /spec/javascripts/issue_spec.js
parent23f5865e184c1738df86893d31392faf4bc2bad7 (diff)
downloadgitlab-ce-8e0e902b133f33b38ffaa743ac3f3297b4bceb2d.tar.gz
resolve all instances of no-undef eslint rule violationsclean-no-undef
Diffstat (limited to 'spec/javascripts/issue_spec.js')
-rw-r--r--spec/javascripts/issue_spec.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/javascripts/issue_spec.js b/spec/javascripts/issue_spec.js
index 14af6644de1..faab5ae00c2 100644
--- a/spec/javascripts/issue_spec.js
+++ b/spec/javascripts/issue_spec.js
@@ -1,4 +1,5 @@
-/* eslint-disable space-before-function-paren, no-var, one-var, one-var-declaration-per-line, no-use-before-define, indent, no-undef, no-trailing-spaces, comma-dangle, padded-blocks, max-len */
+/* eslint-disable space-before-function-paren, no-var, one-var, one-var-declaration-per-line, no-use-before-define, indent, no-trailing-spaces, comma-dangle, padded-blocks, max-len */
+/* global Issue */
/*= require lib/utils/text_utility */
/*= require issue */
@@ -70,7 +71,7 @@
$('input[type=checkbox]').attr('checked', true).trigger('change');
expect($('.js-task-list-field').val()).toBe('- [x] Task List Item');
});
-
+
it('submits an ajax request on tasklist:changed', function() {
spyOn(jQuery, 'ajax').and.callFake(function(req) {
expect(req.type).toBe('PATCH');