Sha256: 519c2a0f8a8e38fe789caba53223a1ff3ad823b5208eb10ba41b3f99b34c6247

Contents?: true

Size: 295 Bytes

Versions: 15

Compression:

Stored size: 295 Bytes

Contents

require "helper"

class UnitHTML5Scrub < Loofah::TestCase
  include Loofah

  def test_scrub_css
    assert_equal Loofah::HTML5::Scrub.scrub_css("background: #ABC012"), "background:#ABC012;"
    assert_equal Loofah::HTML5::Scrub.scrub_css("background: #abc012"), "background:#abc012;"
  end
end

Version data entries

15 entries across 11 versions & 5 rubygems

Version Path
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/loofah-2.4.0/test/html5/test_scrub.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/loofah-2.4.0/test/html5/test_scrub.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/loofah-2.4.0/test/html5/test_scrub.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/loofah-2.3.0/test/html5/test_scrub.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/loofah-2.3.1/test/html5/test_scrub.rb
loofah-2.4.0 test/html5/test_scrub.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/loofah-2.3.0/test/html5/test_scrub.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/loofah-2.3.1/test/html5/test_scrub.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/loofah-2.3.1/test/html5/test_scrub.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/loofah-2.3.1/test/html5/test_scrub.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/loofah-2.3.0/test/html5/test_scrub.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/loofah-2.3.1/test/html5/test_scrub.rb
loofah-2.3.1 test/html5/test_scrub.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/loofah-2.3.0/test/html5/test_scrub.rb
loofah-2.3.0 test/html5/test_scrub.rb