diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-15 21:10:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-15 21:10:36 +0300 |
commit | 99aa31992d4398d35c9df4854f5fb494984a9e0b (patch) | |
tree | c2ca79f7ea8e5daaf8e62b5d523a986331d97647 /spec/lib/banzai | |
parent | 229395d3af51cd46a9179f2eba142c027d08b208 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/banzai')
-rw-r--r-- | spec/lib/banzai/filter/blockquote_fence_filter_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/lib/banzai/filter/blockquote_fence_filter_spec.rb b/spec/lib/banzai/filter/blockquote_fence_filter_spec.rb index 36e8002b796..5712ed7da1f 100644 --- a/spec/lib/banzai/filter/blockquote_fence_filter_spec.rb +++ b/spec/lib/banzai/filter/blockquote_fence_filter_spec.rb @@ -22,14 +22,6 @@ RSpec.describe Banzai::Filter::BlockquoteFenceFilter do expect(filter(">>> \ntest\n>>> ")).to eq("\n> test\n") end - context 'when feature flag is turned off' do - it 'does not require a leading or trailing blank line' do - stub_feature_flags(markdown_corrected_blockquote: false) - - expect(filter("Foo\n>>>\ntest\n>>>\nBar")).to eq("Foo\n\n> test\n\nBar") - end - end - context 'when incomplete blockquote fences with multiple blocks are present' do it 'does not raise timeout error' do test_string = ">>>#{"\n```\nfoo\n```" * 20}" |