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

Version Path
rhodes-3.3.0 spec/framework_spec/app/spec/library/rexml/cdata/shared/to_s.rb
rhodes-3.3.0.beta.3 spec/framework_spec/app/spec/library/rexml/cdata/shared/to_s.rb
rhodes-3.3.0.beta.2 spec/framework_spec/app/spec/library/rexml/cdata/shared/to_s.rb
rhodes-3.3.0.beta.1 spec/framework_spec/app/spec/library/rexml/cdata/shared/to_s.rb
rhodes-3.2.3 spec/framework_spec/app/spec/library/rexml/cdata/shared/to_s.rb
rhodes-3.2.2 spec/framework_spec/app/spec/library/rexml/cdata/shared/to_s.rb
rhodes-3.2.2.beta spec/framework_spec/app/spec/library/rexml/cdata/shared/to_s.rb
rhodes-3.2.1 spec/framework_spec/app/spec/library/rexml/cdata/shared/to_s.rb
rhodes-3.2.0 spec/framework_spec/app/spec/library/rexml/cdata/shared/to_s.rb
rhodes-3.2.0.beta.9 spec/framework_spec/app/spec/library/rexml/cdata/shared/to_s.rb
rhodes-3.2.0.beta.8 spec/framework_spec/app/spec/library/rexml/cdata/shared/to_s.rb
rhodes-3.2.0.beta.7 spec/framework_spec/app/spec/library/rexml/cdata/shared/to_s.rb
rhodes-3.2.0.beta.6 spec/framework_spec/app/spec/library/rexml/cdata/shared/to_s.rb
rhodes-3.2.0.beta.5 spec/framework_spec/app/spec/library/rexml/cdata/shared/to_s.rb