aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/library/rexml/text/unnormalize_spec.rb
blob: 6406589694c590faf0a3bffae271a708f5ab78dc (plain)
1
2
3
4
5
6
7
8
require File.expand_path('../../../../spec_helper', __FILE__)
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