diff options
| author | Peter Leitzen <pl@neopoly.de> | 2018-07-21 13:22:03 +0200 |
|---|---|---|
| committer | Peter Leitzen <pl@neopoly.de> | 2018-08-10 16:45:11 +0200 |
| commit | f89a91d8da6b00e44b28c52ae57bf2c7761bbe35 (patch) | |
| tree | ba0fa225441234ac3463d122e92696dc0be65be9 /spec/views/shared | |
| parent | a892b2354c953d62445a5cf9ac747ee166256c66 (diff) | |
| download | gitlab-ce-f89a91d8da6b00e44b28c52ae57bf2c7761bbe35.tar.gz | |
Quick actions are now also supported on commits
Diffstat (limited to 'spec/views/shared')
| -rw-r--r-- | spec/views/shared/notes/_form.html.haml_spec.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/spec/views/shared/notes/_form.html.haml_spec.rb b/spec/views/shared/notes/_form.html.haml_spec.rb index c57319869f3..0189f926a5f 100644 --- a/spec/views/shared/notes/_form.html.haml_spec.rb +++ b/spec/views/shared/notes/_form.html.haml_spec.rb @@ -16,7 +16,7 @@ describe 'shared/notes/_form' do render end - %w[issue merge_request].each do |noteable| + %w[issue merge_request commit].each do |noteable| context "with a note on #{noteable}" do let(:note) { build(:"note_on_#{noteable}", project: project) } @@ -25,12 +25,4 @@ describe 'shared/notes/_form' do 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 |
