blob: 8031e140c7dfcc0e9231467fd26892a8aeaf497b (
plain)
1
2
3
4
5
6
7
8
9
10
|
require_relative '../../../spec_helper'
require 'rexml/document'
describe "REXML::Text#clone" do
it "creates a copy of this node" do
text = REXML::Text.new("foo")
text.clone.should == "foo"
text.clone.should == text
end
end
|