Sha256: 814208f5ec8d92dcb54490986668e0f81239206f52817ca1372f1ae7b7a0c396
Contents?: true
Size: 460 Bytes
Versions: 15
Compression:
Stored size: 460 Bytes
Contents
# 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
Version data entries
15 entries across 15 versions & 8 rubygems