Sha256: b46702aace2ff8d8f63cbb071f161e850bcac04cb5f27475374cd4b6c9e9beb2
Contents?: true
Size: 445 Bytes
Versions: 49
Compression:
Stored size: 445 Bytes
Contents
require File.expand_path('../../../../spec_helper', __FILE__) require 'rexml/document' describe "REXML::Attribute#value" do it "returns the value of the Attribute unnormalized" do attr = REXML::Attribute.new("name", "value") attr_ents = REXML::Attribute.new("name", "<&>") attr_empty = REXML::Attribute.new("name") attr.value.should == "value" attr_ents.value.should == "<&>" attr_empty.value.should == "" end end
Version data entries
49 entries across 49 versions & 2 rubygems