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-1.0.4 test/tag_test.rb
exlibris-primo-1.0.3 test/tag_test.rb
exlibris-primo-1.0.2 test/tag_test.rb
exlibris-primo-1.0.1 test/tag_test.rb
exlibris-primo-1.0.0 test/tag_test.rb