summaryrefslogtreecommitdiff
path: root/spec/ruby/library/rexml/attribute/inspect_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/rexml/attribute/inspect_spec.rb')
-rw-r--r--spec/ruby/library/rexml/attribute/inspect_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/rexml/attribute/inspect_spec.rb b/spec/ruby/library/rexml/attribute/inspect_spec.rb
index 86a437ec74..632b477cca 100644
--- a/spec/ruby/library/rexml/attribute/inspect_spec.rb
+++ b/spec/ruby/library/rexml/attribute/inspect_spec.rb
@@ -13,7 +13,7 @@ describe "REXML::Attribute#inspect" do
end
it "does not escape text" do
- a = REXML::Attribute.new("&&", "<>")
- a.inspect.should == "&&='<>'"
+ a = REXML::Attribute.new("name", "<>")
+ a.inspect.should == "name='<>'"
end
end