blob: d44695deff5b34ccd10727c09d4407042bf19318 (
plain)
1
2
3
4
5
6
7
8
9
10
|
require File.expand_path('../../../../spec_helper', __FILE__)
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
|