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
a1a662f0
Commit
a1a662f0
authored
Jul 21, 2018
by
Peter Leitzen
Committed by
Sean McGivern
Aug 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quick actions are now also supported on commits
parent
26429678
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
spec/views/shared/notes/_form.html.haml_spec.rb
spec/views/shared/notes/_form.html.haml_spec.rb
+1
-9
No files found.
spec/views/shared/notes/_form.html.haml_spec.rb
View file @
a1a662f0
...
@@ -16,7 +16,7 @@ describe 'shared/notes/_form' do
...
@@ -16,7 +16,7 @@ describe 'shared/notes/_form' do
render
render
end
end
%w[issue merge_request]
.
each
do
|
noteable
|
%w[issue merge_request
commit
]
.
each
do
|
noteable
|
context
"with a note on
#{
noteable
}
"
do
context
"with a note on
#{
noteable
}
"
do
let
(
:note
)
{
build
(
:"note_on_
#{
noteable
}
"
,
project:
project
)
}
let
(
:note
)
{
build
(
:"note_on_
#{
noteable
}
"
,
project:
project
)
}
...
@@ -25,12 +25,4 @@ describe 'shared/notes/_form' do
...
@@ -25,12 +25,4 @@ describe 'shared/notes/_form' do
end
end
end
end
end
end
context
'with a note on a commit'
do
let
(
:note
)
{
build
(
:note_on_commit
,
project:
project
)
}
it
'says that only markdown is supported, not quick actions'
do
expect
(
rendered
).
to
have_content
(
'Markdown is supported'
)
end
end
end
end
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