Sha256: 3af0f3c97d57f222281389d2ffd9aeb255dcd7821f34f683b0cf780003395d16
Contents?: true
Size: 484 Bytes
Versions: 7
Compression:
Stored size: 484 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 :masthead, class: 'Spotlight::Masthead' do image { Rack::Test::UploadedFile.new(File.expand_path(File.join('..', 'fixtures', 'avatar.png'), __dir__)) } end end
Version data entries
7 entries across 7 versions & 1 rubygems