Sha256: 5790c8329b4aba1ba0efd6987ad925431ee6c4f06399c61845cf4f4eb52a1f6c

Contents?: true

Size: 261 Bytes

Versions: 5

Compression:

Stored size: 261 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubysl-rexml-2.0.4 spec/attribute/node_type_spec.rb
rubysl-rexml-2.0.3 spec/attribute/node_type_spec.rb
rubysl-rexml-1.0.0 spec/attribute/node_type_spec.rb
rubysl-rexml-2.0.2 spec/attribute/node_type_spec.rb
rubysl-rexml-2.0.1 spec/attribute/node_type_spec.rb