summaryrefslogtreecommitdiff
path: root/spec/ruby/library/rexml/text/append_spec.rb
blob: de281fb0b0e9740dc83993af0aa39cdbeb370c5d (plain)
1
2
3
4
5
6
7
8
9
10
require_relative '../../../spec_helper'
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