summaryrefslogtreecommitdiff
path: root/spec/javascripts/awards_handler_spec.js
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-08-04 19:37:02 +0100
committerFilipa Lacerda <filipa@gitlab.com>2017-08-04 19:37:02 +0100
commita432ae9d06f7dc28d0825e87bafb33a04ae3cf20 (patch)
treec31f2fa80b8b9c09f9c34f90ae010be6ff8c4f27 /spec/javascripts/awards_handler_spec.js
parent667f8b53ee63e4e1e14ae90d39cc4ec717cf872b (diff)
downloadgitlab-ce-a432ae9d06f7dc28d0825e87bafb33a04ae3cf20.tar.gz
Tests
Diffstat (limited to 'spec/javascripts/awards_handler_spec.js')
-rw-r--r--spec/javascripts/awards_handler_spec.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/javascripts/awards_handler_spec.js b/spec/javascripts/awards_handler_spec.js
index 8e056882108..c90970b7ba1 100644
--- a/spec/javascripts/awards_handler_spec.js
+++ b/spec/javascripts/awards_handler_spec.js
@@ -28,6 +28,7 @@ import '~/lib/utils/common_utils';
preloadFixtures('issues/issue_with_comment.html.raw');
beforeEach(function(done) {
loadFixtures('issues/issue_with_comment.html.raw');
+ $('body').data('page', 'projects:issues:show');
loadAwardsHandler(true).then((obj) => {
awardsHandler = obj;
spyOn(awardsHandler, 'postEmoji').and.callFake((button, url, emoji, cb) => cb());