diff options
author | Fatih Acet <acetfatih@gmail.com> | 2017-08-25 03:41:35 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2017-08-25 03:42:36 +0300 |
commit | c4eac02df893683b2e22945b5a9fe53ac35b8011 (patch) | |
tree | e9f7ce13ebb38ec7155b5d97abfba5d22e7edab0 /spec/javascripts/behaviors | |
parent | d6692113598e33ac65b0977077dda1d5b9b9eca1 (diff) |
IssueNotesRefactor: Fix quick submit spec.
Diffstat (limited to 'spec/javascripts/behaviors')
-rw-r--r-- | spec/javascripts/behaviors/quick_submit_spec.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/javascripts/behaviors/quick_submit_spec.js b/spec/javascripts/behaviors/quick_submit_spec.js index 2f8d4ea92e4..f62bf43adb9 100644 --- a/spec/javascripts/behaviors/quick_submit_spec.js +++ b/spec/javascripts/behaviors/quick_submit_spec.js @@ -7,6 +7,7 @@ describe('Quick Submit behavior', () => { beforeEach(() => { loadFixtures('merge_requests/merge_request_with_task_list.html.raw'); + $('body').attr('data-page', 'projects:merge_requests:show'); $('form').submit((e) => { // Prevent a form submit from moving us off the testing page e.preventDefault(); |