aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/xml_mini/rexml_engine_test.rb
blob: a412d8ca056902717b7dc419d670e446e98263a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'abstract_unit'
require 'active_support/xml_mini'

class REXMLEngineTest < Test::Unit::TestCase
  include ActiveSupport

  def test_default_is_rexml
    assert_equal XmlMini_REXML, XmlMini.backend
  end

  def test_set_rexml_as_backend
    XmlMini.backend = 'REXML'
    assert_equal XmlMini_REXML, XmlMini.backend
  end
end