aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/xml_mini/nokogiri_engine_test.rb
blob: 10062577f606fa1d4d96c84766df83e45c24d78f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true
require_relative "xml_mini_engine_test"

XMLMiniEngineTest.run_with_gem("nokogiri") do
  class NokogiriEngineTest < XMLMiniEngineTest
    private
      def engine
        "Nokogiri"
      end

      def expansion_attack_error
        Nokogiri::XML::SyntaxError
      end
  end
end