summaryrefslogtreecommitdiff
path: root/spec/ruby/library/rexml/text/append_spec.rb
blob: 5e7a5bae7ca1c5c7f6733223084bbc9530c65d71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require_relative '../../../spec_helper'

ruby_version_is ''...'3.0' do
  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
end