Sha256: 29f1c9075042b4c8f8affb34dee4774bcbee7c16b03ff6d54cd02c1d3cd2fa5d

Contents?: true

Size: 338 Bytes

Versions: 25

Compression:

Stored size: 338 Bytes

Contents

require 'test_helper'
class RecordTest < Test::Unit::TestCase
  def test_new_record
    assert_nothing_raised {
      record = Exlibris::Primo::Record.new(:raw_xml => record_xml)
      assert_equal "nyu_aleph000062856", record.recordid
      assert((not record.holdings.empty?))
      assert_equal(1, record.holdings.size)
    }
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

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