Sha256: 28421976aa91d1bd807d943a1e02db8f87d0642a36095b5e9c9e23be19695be8

Contents?: true

Size: 378 Bytes

Versions: 42

Compression:

Stored size: 378 Bytes

Contents

FactoryGirl.define do
  factory :featured_image, class: Spotlight::FeaturedImage 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

42 entries across 42 versions & 1 rubygems

Version Path
blacklight-spotlight-0.9.2 spec/factories/featured_images.rb
blacklight-spotlight-0.9.1 spec/factories/featured_images.rb