Sha256: a12da66f12ac9aa049a32ac348bb6781a14494dbe3d46ef10c9d52154a6c559f
Contents?: true
Size: 307 Bytes
Versions: 54
Compression:
Stored size: 307 Bytes
Contents
describe :rexml_cdata_to_s, :shared => true do it "returns the contents of the CData" do c = REXML::CData.new("some text") c.send(@method).should == "some text" end it "does not escape text" do c1 = REXML::CData.new("some& text\n") c1.send(@method).should == "some& text\n" end end
Version data entries
54 entries across 54 versions & 3 rubygems