IssueNotesRefactor: Fix broken specs.

This commit is contained in:
Fatih Acet 2017-08-29 02:39:07 +03:00
parent c4eac02df8
commit e5c8d2ca51
2 changed files with 2 additions and 1 deletions

View file

@ -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"

View file

@ -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