summaryrefslogtreecommitdiff
path: root/spec/factories/uploads.rb
blob: 1383420fb4477412441c63cef47484595cf7cff7 (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