diff options
Diffstat (limited to 'spec/lib/banzai/filter/attributes_filter_spec.rb')
-rw-r--r-- | spec/lib/banzai/filter/attributes_filter_spec.rb | 2 |
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 |