Sha256: 0933615efe8a07f044060c528cb236ada04ab87bfbb091327bd3aff2750629b1
Contents?: true
Size: 1.13 KB
Versions: 3
Compression:
Stored size: 1.13 KB
Contents
require 'newspaper_works_fixtures' RSpec.shared_context "ndnp fixture setup", shared_context: :metadata do let(:ndnp_fixture_path) do path = File.join(NewspaperWorksFixtures.file_fixtures, 'ndnp') whitelist = Hyrax.config.whitelisted_ingest_dirs whitelist.push(path) unless whitelist.include?(path) path end # `batch_local` example issue: let(:issue1) do File.join( ndnp_fixture_path, 'batch_local/sn85058233/17082901001/1935080201/1935080201.xml' ) end # `batch_test_ver01` example issue: let(:issue2) do File.join( ndnp_fixture_path, 'batch_test_ver01/data/sn85025202/00279557281/1857021401/1857021401.xml' ) end let(:reel1) do File.join( ndnp_fixture_path, 'batch_test_ver01/data/sn84038814/00279557177/00279557177.xml' ) end # reel with no explicit reel number, but containing it in mets/@LABEL let(:reel2) do File.join( ndnp_fixture_path, 'batch_test_ver01/data/sn85025202/00279557281/00279557281_1.xml' ) end let(:batch1) do File.join( ndnp_fixture_path, 'batch_test_ver01/data/BATCH_1.xml' ) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
newspaper_works-1.0.1 | spec/ndnp_shared.rb |
newspaper_works-1.0.0 | spec/ndnp_shared.rb |
newspaper_works-0.1.0 | spec/ndnp_shared.rb |