diff options
Diffstat (limited to 'spec/ruby/library/rexml/attribute/to_s_spec.rb')
| -rw-r--r-- | spec/ruby/library/rexml/attribute/to_s_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/ruby/library/rexml/attribute/to_s_spec.rb b/spec/ruby/library/rexml/attribute/to_s_spec.rb deleted file mode 100644 index 96831625b6..0000000000 --- a/spec/ruby/library/rexml/attribute/to_s_spec.rb +++ /dev/null @@ -1,14 +0,0 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require 'rexml/document' - -describe "REXML::Attribute#to_s" do - it "returns the value of the Attribute" do - REXML::Attribute.new("name", "some_value").to_s.should == "some_value" - end - - it "returns the escaped value if it was created from Attribute" do - orig = REXML::Attribute.new("name", "<&>") - copy = REXML::Attribute.new(orig) - copy.to_s.should == "<&>" - end -end |
