Sha256: 8d4b475f542383de4f96bf131599c04a3bc795b79e4b86ba4bf290571ba7ea38
Contents?: true
Size: 548 Bytes
Versions: 10
Compression:
Stored size: 548 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 def test_invalid_frbr record = Exlibris::Primo::Record.new(:raw_xml => record_invalid_frbr_xml) assert_equal false,record.frbr? assert_nil record.frbr_id assert(record.frbr_id.blank?) end end end
Version data entries
10 entries across 10 versions & 1 rubygems