Sha256: 3198a522876b4b9b01bbb982916037c202dff39dfaff7fe017d7379e70bd56d7

Contents?: true

Size: 300 Bytes

Versions: 3

Compression:

Stored size: 300 Bytes

Contents

# frozen_string_literal: true
FactoryBot.define do
  factory :single_use_link do
    factory :show_link do
      item_id { 'fs-id' }
      path    { '/concerns/generic_work/1234' }
    end

    factory :download_link do
      item_id { 'fs-id' }
      path    { '/downloads/1234' }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hyrax-5.0.1 lib/hyrax/specs/shared_specs/factories/single_use_links.rb
hyrax-5.0.0 spec/factories/single_use_links.rb
hyrax-5.0.0.rc3 spec/factories/single_use_links.rb