Sha256: 7bd8a9ac8c08798e78222e4d4974fe7c27797e0d45a234040935f5f585fefdd2

Contents?: true

Size: 309 Bytes

Versions: 57

Compression:

Stored size: 309 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :contact_image, class: 'Spotlight::ContactImage' 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-3.0.2 spec/factories/contact_images.rb
blacklight-spotlight-3.0.1 spec/factories/contact_images.rb
blacklight-spotlight-3.0.0 spec/factories/contact_images.rb
blacklight-spotlight-3.0.0.rc6 spec/factories/contact_images.rb
blacklight-spotlight-3.0.0.rc5 spec/factories/contact_images.rb
blacklight-spotlight-3.0.0.rc4 spec/factories/contact_images.rb
blacklight-spotlight-3.0.0.rc3 spec/factories/contact_images.rb
blacklight-spotlight-3.0.0.rc2 spec/factories/contact_images.rb
blacklight-spotlight-3.0.0.rc1 spec/factories/contact_images.rb
blacklight-spotlight-3.0.0.alpha.10 spec/factories/contact_images.rb
blacklight-spotlight-3.0.0.alpha.9 spec/factories/contact_images.rb
blacklight-spotlight-3.0.0.alpha.8 spec/factories/contact_images.rb
blacklight-spotlight-3.0.0.alpha.7 spec/factories/contact_images.rb
blacklight-spotlight-3.0.0.alpha.6 spec/factories/contact_images.rb
blacklight-spotlight-3.0.0.alpha.5 spec/factories/contact_images.rb
blacklight-spotlight-3.0.0.alpha.4 spec/factories/contact_images.rb
blacklight-spotlight-3.0.0.alpha.3 spec/factories/contact_images.rb