summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2017-08-29 02:39:07 +0300
committerFatih Acet <acetfatih@gmail.com>2017-08-29 02:39:07 +0300
commite5c8d2ca51566f18ef9f203ef90d4fe1fb4fbbfa (patch)
tree233ad1888c8639b20fd051c5195d010db09c7928
parentc4eac02df893683b2e22945b5a9fe53ac35b8011 (diff)
downloadgitlab-ce-e5c8d2ca51566f18ef9f203ef90d4fe1fb4fbbfa.tar.gz
IssueNotesRefactor: Fix broken specs.
-rw-r--r--app/assets/javascripts/notes/components/issue_comment_form.vue1
-rw-r--r--spec/support/features/reportable_note_shared_examples.rb2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes/components/issue_comment_form.vue b/app/assets/javascripts/notes/components/issue_comment_form.vue
index 6c3d974bc25..16f4e22aa9b 100644
--- a/app/assets/javascripts/notes/components/issue_comment_form.vue
+++ b/app/assets/javascripts/notes/components/issue_comment_form.vue
@@ -241,6 +241,7 @@
ref="commentForm"
class="new-note js-quick-submit common-note-form gfm-form js-main-target-form">
<confidentialIssue v-if="isConfidentialIssue" />
+ <div class="error-alert"></div>
<markdown-field
:markdown-preview-path="markdownPreviewPath"
:markdown-docs-path="markdownDocsPath"
diff --git a/spec/support/features/reportable_note_shared_examples.rb b/spec/support/features/reportable_note_shared_examples.rb
index 4d7d23f0341..d10006edd85 100644
--- a/spec/support/features/reportable_note_shared_examples.rb
+++ b/spec/support/features/reportable_note_shared_examples.rb
@@ -20,7 +20,7 @@ shared_examples 'reportable note' do |type|
open_dropdown(dropdown)
expect(dropdown).to have_link('Report as abuse', href: abuse_report_path)
-
+
if type == 'issue'
expect(dropdown).to have_button('Delete comment')
else