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

ruby_version_is ''...'3.0' do
  require 'rexml/document'

  describe "REXML::Text#inspect" do
    it "inspects the string attribute as a string" do
      REXML::Text.new("a text").inspect.should == "a text".inspect
    end
  end
end