Sha256: c4a5e49fa1aa53ca811083536bb14d2f4668cf824d095002ac11de634a6b9073

Contents?: true

Size: 418 Bytes

Versions: 25

Compression:

Stored size: 418 Bytes

Contents

require 'test_helper'
class TagTest < Test::Unit::TestCase
  def test_new_tag
    assert_nothing_raised {
      tag = Exlibris::Primo::Tag.new(:raw_xml => "<Tag><value>spies</value><docId>nyu_aleph000062856</docId><userId/><status/></Tag>")
      assert_equal "", tag.user_id
      assert_equal "nyu_aleph000062856", tag.record_id
      assert_equal "spies", tag.value
      assert_equal "", tag.status
    }
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
exlibris-primo-2.1.1 test/tag_test.rb
exlibris-primo-2.1.0 test/tag_test.rb
exlibris-primo-2.0.0 test/tag_test.rb
exlibris-primo-1.1.9 test/tag_test.rb
exlibris-primo-1.1.8 test/tag_test.rb
exlibris-primo-1.1.7 test/tag_test.rb
exlibris-primo-1.1.6 test/tag_test.rb
exlibris-primo-1.1.5 test/tag_test.rb
exlibris-primo-1.1.4 test/tag_test.rb
exlibris-primo-1.1.3 test/tag_test.rb
exlibris-primo-1.1.2 test/tag_test.rb
exlibris-primo-1.1.1 test/tag_test.rb
exlibris-primo-1.1.0 test/tag_test.rb
exlibris-primo-1.0.11 test/tag_test.rb
exlibris-primo-1.0.10 test/tag_test.rb
exlibris-primo-1.0.9 test/tag_test.rb
exlibris-primo-1.0.8 test/tag_test.rb
exlibris-primo-1.0.7 test/tag_test.rb
exlibris-primo-1.0.6 test/tag_test.rb
exlibris-primo-1.0.5 test/tag_test.rb