Sha256: 72e89fc3090d1995ffbb08d1b335179916000563f2d82283704af8b21ee17420

Contents?: true

Size: 302 Bytes

Versions: 2

Compression:

Stored size: 302 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe GenericContentObjectsHelper do
  it "should have a url for a pid" do
    helper.datastream_disseminator_url('hydra:123', 'sampleDs').should match /http:\/\/127.0.0.1:898\d\/fedora-test\/get\/hydra:123\/sampleDs/
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hydra-head-4.0.3 test_support/spec/helpers/generic_content_objects_helper_spec.rb
hydra-head-4.0.2 test_support/spec/helpers/generic_content_objects_helper_spec.rb