Sha256: af021bf2b0f95df1cdbdad61f53f4872b1a4ec5f5df6f46f6b379bd64baa37c9
Contents?: true
Size: 594 Bytes
Versions: 1
Compression:
Stored size: 594 Bytes
Contents
# frozen_string_literal: true require_relative "xml_mini_engine_test" class REXMLEngineTest < XMLMiniEngineTest def test_default_is_rexml assert_equal ActiveSupport::XmlMini_REXML, ActiveSupport::XmlMini.backend end def test_parse_from_empty_string assert_equal({}, ActiveSupport::XmlMini.parse("")) end def test_parse_from_frozen_string xml_string = "<root></root>".freeze assert_equal({ "root" => {} }, ActiveSupport::XmlMini.parse(xml_string)) end private def engine "REXML" end def expansion_attack_error RuntimeError end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-on-quails-0.1.0 | activesupport/test/xml_mini/rexml_engine_test.rb |