Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/banzai/filter/attributes_filter_spec.rb')
-rw-r--r--spec/lib/banzai/filter/attributes_filter_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/lib/banzai/filter/attributes_filter_spec.rb b/spec/lib/banzai/filter/attributes_filter_spec.rb
index cef5e24cdaa..72d78960474 100644
--- a/spec/lib/banzai/filter/attributes_filter_spec.rb
+++ b/spec/lib/banzai/filter/attributes_filter_spec.rb
@@ -66,6 +66,8 @@ RSpec.describe Banzai::Filter::AttributesFilter, feature_category: :team_plannin
where(:text, :result) do
"#{image}{width=100cs}" | '<img src="example.jpg">'
"#{image}{width=auto height=200}" | '<img src="example.jpg" height="200">'
+ "#{image}{width=10000}" | '<img src="example.jpg">'
+ "#{image}{width=-200}" | '<img src="example.jpg">'
end
with_them do