Sha256: b50719a17d4dc1099176983d536087a53f8d528a15d34f0934045914c1f101ce

Contents?: true

Size: 367 Bytes

Versions: 256

Compression:

Stored size: 367 Bytes

Contents

require "helper"

module Nokogiri
  module XML
    class TestAdditionalNamespacesInBuilderDoc < Nokogiri::TestCase
      def test_builder_namespaced_root_node_ns
        b = Nokogiri::XML::Builder.new do |x|
          x[:foo].RDF(:'xmlns:foo' => 'http://foo.io')
        end
        assert_equal 'http://foo.io', b.doc.root.namespace.href
      end
    end
  end
end

Version data entries

256 entries across 246 versions & 24 rubygems

Version Path
tdiary-5.0.6 vendor/bundle/gems/nokogiri-1.8.1/test/namespaces/test_additional_namespaces_in_builder_doc.rb
nokogiri-1.8.1 test/namespaces/test_additional_namespaces_in_builder_doc.rb
nokogiri-1.8.1-x86-mingw32 test/namespaces/test_additional_namespaces_in_builder_doc.rb
nokogiri-1.8.1-x64-mingw32 test/namespaces/test_additional_namespaces_in_builder_doc.rb
nokogiri-1.8.1-java test/namespaces/test_additional_namespaces_in_builder_doc.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/nokogiri-1.7.1/test/namespaces/test_additional_namespaces_in_builder_doc.rb
tdiary-5.0.5 vendor/bundle/gems/nokogiri-1.8.0/test/namespaces/test_additional_namespaces_in_builder_doc.rb
tdiary-5.0.5 vendor/bundle/gems/nokogiri-1.7.1/test/namespaces/test_additional_namespaces_in_builder_doc.rb
nokogiri-1.8.0 test/namespaces/test_additional_namespaces_in_builder_doc.rb
nokogiri-1.8.0-x86-mingw32 test/namespaces/test_additional_namespaces_in_builder_doc.rb
nokogiri-1.8.0-x64-mingw32 test/namespaces/test_additional_namespaces_in_builder_doc.rb
nokogiri-1.8.0-java test/namespaces/test_additional_namespaces_in_builder_doc.rb
nokogiri-1.7.2 test/namespaces/test_additional_namespaces_in_builder_doc.rb
nokogiri-1.7.2-x86-mingw32 test/namespaces/test_additional_namespaces_in_builder_doc.rb
nokogiri-1.7.2-x64-mingw32 test/namespaces/test_additional_namespaces_in_builder_doc.rb
nokogiri-1.7.2-java test/namespaces/test_additional_namespaces_in_builder_doc.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/nokogiri-1.7.1/test/namespaces/test_additional_namespaces_in_builder_doc.rb
tdiary-5.0.4 vendor/bundle/gems/nokogiri-1.7.1/test/namespaces/test_additional_namespaces_in_builder_doc.rb
nokogiri-1.7.1 test/namespaces/test_additional_namespaces_in_builder_doc.rb
nokogiri-1.7.1-x86-mingw32 test/namespaces/test_additional_namespaces_in_builder_doc.rb