blob: 664d7cfa03bef193f15ae6177a15b452e87f9581 (
plain)
1
2
3
4
5
6
7
8
9
10
|
require_relative '../../../spec_helper'
require 'rexml/document'
describe "REXML::Attribute#node_type" do
it "always returns :attribute" do
attr = REXML::Attribute.new("foo", "bar")
attr.node_type.should == :attribute
REXML::Attribute.new(attr).node_type.should == :attribute
end
end
|