Sha256: cdaa077dbdb8aecd36003a1f98ca3681420f959995b45df0d3e1324aa23a0b42
Contents?: true
Size: 273 Bytes
Versions: 2
Compression:
Stored size: 273 Bytes
Contents
require "test/unit" require "marc" class DublinCoreTest < Test::Unit::TestCase def test_mapping reader = MARC::Reader.new("test/batch.dat") reader.each do |record| dc = record.to_dublin_core assert dc["title"] == record["245"]["a"] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
marc-1.3.0 | test/tc_dublincore.rb |
marc-1.2.0 | test/tc_dublincore.rb |