IssueNotesRefactor: Fix broken specs.
This commit is contained in:
parent
c4eac02df8
commit
e5c8d2ca51
2 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue