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

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