Sha256: af808acdfa0d74d17250e3456c53d0cbb94d37118bf4e5eda0ff9d714fb10b6d
Contents?: true
Size: 390 Bytes
Versions: 42
Compression:
Stored size: 390 Bytes
Contents
FactoryGirl.define do factory :resource, class: Spotlight::Resource do exhibit type 'Spotlight::Resource' url 'some url' end factory :uploaded_resource, class: Spotlight::Resources::Upload, parent: :resource do type 'Spotlight::Resources::Upload' url { 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