aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/library/rexml/text/inspect_spec.rb
blob: 655e42fcdff3c6aa0e1c159f02004fe206829fa9 (plain)
1
2
3
4
5
6
7
8
require File.expand_path('../../../../spec_helper', __FILE__)
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