blob: 15dcf13a0482db854e5f5bc72b08cb33a7283f7f (
plain)
1
2
3
4
5
6
7
8
9
10
|
require File.expand_path('../../../../spec_helper', __FILE__)
require 'rexml/document'
describe "REXML::CData#clone" do
it "makes a copy of itself" do
c = REXML::CData.new("some text")
c.clone.to_s.should == c.to_s
c.clone.should == c
end
end
|