gitlab-org--gitlab-foss/spec/factories/uploads.rb
2017-08-02 17:47:31 -04:00

8 lines
194 B
Ruby

FactoryGirl.define do
factory :upload do
model { build(:project) }
path { "uploads/-/system/project/avatar/avatar.jpg" }
size 100.kilobytes
uploader "AvatarUploader"
end
end