mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
24 lines
448 B
Ruby
24 lines
448 B
Ruby
begin
|
|
require "libxml"
|
|
rescue LoadError
|
|
# Skip libxml tests
|
|
else
|
|
require "abstract_unit"
|
|
require "active_support/xml_mini"
|
|
require "active_support/core_ext/hash/conversions"
|
|
require_relative "./common"
|
|
|
|
class LibXMLSAXEngineTest < ActiveSupport::TestCase
|
|
include CommonXMLMiniAdapterTest
|
|
|
|
private
|
|
|
|
def engine
|
|
"LibXMLSAX"
|
|
end
|
|
|
|
def expansion_attack_error
|
|
LibXML::XML::Error
|
|
end
|
|
end
|
|
end
|