debian-mirror-gitlab/spec/factories/uploads.rb

9 lines
194 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
FactoryGirl.define do
factory :upload do
model { build(:project) }
2017-09-10 17:25:29 +05:30
path { "uploads/-/system/project/avatar/avatar.jpg" }
2017-08-17 22:00:37 +05:30
size 100.kilobytes
uploader "AvatarUploader"
end
end