DEV: Use a copy of the fixture file instead of the original one (#9645)
This commit is contained in:
parent
7c2d3275f4
commit
70bf1669be
|
@ -27,7 +27,7 @@ describe UserAvatarsController do
|
|||
# travis is not good here, no image magick
|
||||
if !ENV["TRAVIS"]
|
||||
let :upload do
|
||||
File.open("#{Rails.root}/spec/fixtures/images/cropped.png") do |f|
|
||||
File.open(file_from_fixtures("cropped.png")) do |f|
|
||||
UploadCreator.new(
|
||||
f,
|
||||
"test.png"
|
||||
|
|
Loading…
Reference in New Issue