Sha256: 37b5d20744307dd15c1719286ff66926e835143d54f9c92547f7123266b14b7c

Contents?: true

Size: 327 Bytes

Versions: 15

Compression:

Stored size: 327 Bytes

Contents

module Pnx
  require 'test_helper'
  class FrbrTest < Test::Unit::TestCase
    def test_frbr
      record = Exlibris::Primo::Record.new(:raw_xml => record_xml)
      assert record.frbr?
      assert_not_nil record.frbr_id
      assert((not record.frbr_id.blank?))
      assert_equal "49340863", record.frbr_id
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
exlibris-primo-1.1.2 test/pnx/frbr_test.rb
exlibris-primo-1.1.1 test/pnx/frbr_test.rb
exlibris-primo-1.1.0 test/pnx/frbr_test.rb
exlibris-primo-1.0.11 test/pnx/frbr_test.rb
exlibris-primo-1.0.10 test/pnx/frbr_test.rb
exlibris-primo-1.0.9 test/pnx/frbr_test.rb
exlibris-primo-1.0.8 test/pnx/frbr_test.rb
exlibris-primo-1.0.7 test/pnx/frbr_test.rb
exlibris-primo-1.0.6 test/pnx/frbr_test.rb
exlibris-primo-1.0.5 test/pnx/frbr_test.rb
exlibris-primo-1.0.4 test/pnx/frbr_test.rb
exlibris-primo-1.0.3 test/pnx/frbr_test.rb
exlibris-primo-1.0.2 test/pnx/frbr_test.rb
exlibris-primo-1.0.1 test/pnx/frbr_test.rb
exlibris-primo-1.0.0 test/pnx/frbr_test.rb