Sha256: fb14f6c0dfc5f006a0af22b2ee33e3dcd0dc166970fc907f35158c7489e07b52
Contents?: true
Size: 550 Bytes
Versions: 25
Compression:
Stored size: 550 Bytes
Contents
module Pnx require 'test_helper' class DedupMgrTest < Test::Unit::TestCase def test_dedupmrg record = Exlibris::Primo::Record.new(:raw_xml => dedupmgr_record_xml) assert record.respond_to? :display_title assert record.respond_to? :recordid assert_equal "The New York times", record.display_title assert_equal "dedupmrg17343091", record.recordid assert((not record.sourceids.keys.include?("dedupmrg17343091"))) assert_raise(NoMethodError) { record.non_existent_method } end end end
Version data entries
25 entries across 25 versions & 1 rubygems