summaryrefslogtreecommitdiff
path: root/spec/ruby/library/rexml/text/unnormalize_spec.rb
blob: 3072809c1324685169130c9c90bd6bc0174b61b4 (plain)
1
2
3
4
5
6
7
8
require_relative '../../../spec_helper'
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