summaryrefslogtreecommitdiff
path: root/spec/factories/uploads.rb
blob: 3222c41c3d8977801dd6da546955063ebf8b3221 (plain)
1
2
3
4
5
6
7
8
FactoryGirl.define do
  factory :upload do
    model { build(:project) }
    path { "uploads/-/system/project/avatar/avatar.jpg" }
    size 100.kilobytes
    uploader "AvatarUploader"
  end
end