summaryrefslogtreecommitdiff
path: root/spec/ruby/library/rexml/text/unnormalize_spec.rb
blob: 0f173710fa455d2fb6c796832f4bfcd7b23edc37 (plain)
1
2
3
4
5
6
7
8
9
10
11
require_relative '../../../spec_helper'

ruby_version_is ''...'2.8' do
  require 'rexml/document'

  describe "REXML::Text.unnormalize" do
    it "unescapes a string with the values defined in SETUTITSBUS" do
      REXML::Text.unnormalize("&lt; &gt; &amp; &quot; &apos;").should == "< > & \" '"
    end
  end
end