diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-09 15:06:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-09 15:06:13 +0300 |
commit | 0a850868dfb85086cba8320cee9dac4657dcae6c (patch) | |
tree | 40d17228fe23d9db7b861fe2a20d024d64c50323 /spec/features/markdown | |
parent | 3744bcc0d10d24104e39985b6833a0ec51791c0a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/markdown')
-rw-r--r-- | spec/features/markdown/copy_as_gfm_spec.rb | 6 | ||||
-rw-r--r-- | spec/features/markdown/markdown_spec.rb | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/spec/features/markdown/copy_as_gfm_spec.rb b/spec/features/markdown/copy_as_gfm_spec.rb index 9f26321a1dc..84221f5555a 100644 --- a/spec/features/markdown/copy_as_gfm_spec.rb +++ b/spec/features/markdown/copy_as_gfm_spec.rb @@ -179,6 +179,12 @@ describe 'Copy as GFM', :js do ) verify( + 'AudioLinkFilter', + + '![Audio](https://example.com/audio.wav)' + ) + + verify( 'MathFilter: math as converted from GFM to HTML', '$`c = \pm\sqrt{a^2 + b^2}`$', diff --git a/spec/features/markdown/markdown_spec.rb b/spec/features/markdown/markdown_spec.rb index 0efeffe3232..a45fa67ce9e 100644 --- a/spec/features/markdown/markdown_spec.rb +++ b/spec/features/markdown/markdown_spec.rb @@ -320,6 +320,10 @@ describe 'GitLab Markdown', :aggregate_failures do expect(doc).to parse_video_links end + aggregate_failures 'AudioLinkFilter' do + expect(doc).to parse_audio_links + end + aggregate_failures 'ColorFilter' do expect(doc).to parse_colors end |