gab-social/spec/fabricators/site_upload_fabricator.rb

4 lines
128 B
Ruby
Raw Normal View History

2019-07-02 08:10:25 +01:00
Fabricator(:site_upload) do
file { File.open(File.join(Rails.root, 'spec', 'fabricators', 'assets', 'utah_teapot.png')) }
end