File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/htmlentities-4.3.4/test/interoperability_test.rb
# encoding: UTF-8
require_relative "./test_helper"
if ENV["RUN_INTEROPERABILITY_TESTS"]
class HTMLEntities::InteroperabilityTest < Test::Unit::TestCase
def test_should_encode_active_support_safe_buffer
require 'active_support'
string = "<p>This is a test</p>"
buffer = ActiveSupport::SafeBuffer.new(string)
coder = HTMLEntities.new
assert_equal coder.encode(string, :named), coder.encode(buffer, :named)
end
end
end