BigW Consortium Gitlab

uploads.rb 194 Bytes
Newer Older
1 2 3
FactoryGirl.define do
  factory :upload do
    model { build(:project) }
4
    path { "uploads/-/system/project/avatar/avatar.jpg" }
5 6 7 8
    size 100.kilobytes
    uploader "AvatarUploader"
  end
end