Commit e5c8d2ca authored by Fatih Acet's avatar Fatih Acet

IssueNotesRefactor: Fix broken specs.

parent c4eac02d
...@@ -241,6 +241,7 @@ ...@@ -241,6 +241,7 @@
ref="commentForm" ref="commentForm"
class="new-note js-quick-submit common-note-form gfm-form js-main-target-form"> class="new-note js-quick-submit common-note-form gfm-form js-main-target-form">
<confidentialIssue v-if="isConfidentialIssue" /> <confidentialIssue v-if="isConfidentialIssue" />
<div class="error-alert"></div>
<markdown-field <markdown-field
:markdown-preview-path="markdownPreviewPath" :markdown-preview-path="markdownPreviewPath"
:markdown-docs-path="markdownDocsPath" :markdown-docs-path="markdownDocsPath"
......
...@@ -20,7 +20,7 @@ shared_examples 'reportable note' do |type| ...@@ -20,7 +20,7 @@ shared_examples 'reportable note' do |type|
open_dropdown(dropdown) open_dropdown(dropdown)
expect(dropdown).to have_link('Report as abuse', href: abuse_report_path) expect(dropdown).to have_link('Report as abuse', href: abuse_report_path)
if type == 'issue' if type == 'issue'
expect(dropdown).to have_button('Delete comment') expect(dropdown).to have_button('Delete comment')
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment