Quick actions are now also supported on commits
This commit is contained in:
parent
a892b2354c
commit
f89a91d8da
1 changed files with 1 additions and 9 deletions
|
@ -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
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue