2018-03-04 10:09:32 -05:00
|
|
|
require_relative '../../../spec_helper'
|
2017-05-07 08:04:49 -04:00
|
|
|
require 'rexml/document'
|
|
|
|
|
|
|
|
describe "REXML::Text#<<" do
|
|
|
|
it "appends a string to this text node" do
|
|
|
|
text = REXML::Text.new("foo")
|
|
|
|
text << "bar"
|
|
|
|
text.should == "foobar"
|
|
|
|
end
|
|
|
|
end
|