Sha256: 7adefddbe491d8d03a0d175a11a4bb1b1f177a802d64f92c7f09277631ae4411

Contents?: true

Size: 317 Bytes

Versions: 57

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :exhibit_thumbnail, class: 'Spotlight::ExhibitThumbnail' do
    image { Rack::Test::UploadedFile.new(File.expand_path(File.join('..', 'fixtures', 'avatar.png'), __dir__)) }
    iiif_tilesource { 'https://exhibits-stage.stanford.edu/images/78' }
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
blacklight-spotlight-4.3.6 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-4.3.5 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-4.3.4 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-4.3.3 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-4.3.2 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-4.3.1 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-4.3.0 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-4.2.0 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-4.1.2 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-4.1.1 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-4.1.0 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-4.0.3 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-4.0.2 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-4.0.1 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-4.0.0 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-3.6.0.beta10 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-3.6.0.beta9 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-3.6.0.beta8 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-3.5.0.4 spec/factories/exhibit_thumbnails.rb
blacklight-spotlight-3.6.0.beta7 spec/factories/exhibit_thumbnails.rb