Sha256: 60696810fb64586fb704f19b101c5de8cd7b4dae15f7325d522b56344590d9f5
Contents?: true
Size: 588 Bytes
Versions: 4
Compression:
Stored size: 588 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe GenericContentObjectsHelper do before :all do @behavior = Hydra::GenericContentObjectsHelperBehavior.deprecation_behavior Hydra::GenericContentObjectsHelperBehavior.deprecation_behavior = :silence end after :all do Hydra::GenericContentObjectsHelperBehavior.deprecation_behavior = @behavior end it "should have a url for a pid" do helper.datastream_disseminator_url('hydra:123', 'sampleDs').should match /http:\/\/127.0.0.1:\d+\/fedora-test\/get\/hydra:123\/sampleDs/ end end
Version data entries
4 entries across 4 versions & 1 rubygems