summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-08-11 16:38:57 +0100
committerFilipa Lacerda <filipa@gitlab.com>2017-08-11 19:54:57 +0100
commite81dd24251c20a89231637b05f04abf9d2e039ea (patch)
tree1873dc87fb9ba22cc36c71fd5b107921200175b5 /spec
parentd78037c246d14817937abbc4369e30ae12b022bc (diff)
downloadgitlab-ce-e81dd24251c20a89231637b05f04abf9d2e039ea.tar.gz
Fix broken notes spec
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/notes_spec.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/javascripts/notes_spec.js b/spec/javascripts/notes_spec.js
index d9748369d1d..8c5ad8914b0 100644
--- a/spec/javascripts/notes_spec.js
+++ b/spec/javascripts/notes_spec.js
@@ -64,7 +64,8 @@ import '~/notes';
expect(req.url).toBe('http://test.host/frontend-fixtures/merge-requests-project/merge_requests/1.json');
return expect(req.data.note).not.toBe(null);
});
- $('.js-task-list-field.original-task-list').trigger('tasklist:changed');
+
+ $('.js-task-list-field.js-note-text').trigger('tasklist:changed');
});
});