Sha256: bfadac78d74443266e994055ba9bde375cbc8000fc2f8d72da13e33e40c5e7f7
Contents?: true
Size: 670 Bytes
Versions: 50
Compression:
Stored size: 670 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :featured_image, class: 'Spotlight::FeaturedImage' 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 factory :temporary_image, class: 'Spotlight::TemporaryImage' do image { Rack::Test::UploadedFile.new(File.expand_path(File.join('..', 'fixtures', 'avatar.png'), __dir__)) } end factory :masthead, class: 'Spotlight::Masthead' do image { Rack::Test::UploadedFile.new(File.expand_path(File.join('..', 'fixtures', 'avatar.png'), __dir__)) } end end
Version data entries
50 entries across 50 versions & 1 rubygems