Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e5c8d2ca
Commit
e5c8d2ca
authored
Aug 29, 2017
by
Fatih Acet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IssueNotesRefactor: Fix broken specs.
parent
c4eac02d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
app/assets/javascripts/notes/components/issue_comment_form.vue
...ssets/javascripts/notes/components/issue_comment_form.vue
+1
-0
spec/support/features/reportable_note_shared_examples.rb
spec/support/features/reportable_note_shared_examples.rb
+1
-1
No files found.
app/assets/javascripts/notes/components/issue_comment_form.vue
View file @
e5c8d2ca
...
@@ -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"
...
...
spec/support/features/reportable_note_shared_examples.rb
View file @
e5c8d2ca
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment