diff options
author | Micaël Bergeron <mbergeron@gitlab.com> | 2018-02-01 22:24:59 +0300 |
---|---|---|
committer | Micaël Bergeron <mbergeron@gitlab.com> | 2018-02-01 23:08:35 +0300 |
commit | a5bb17ffd5d466568c3bcea161bac42123bd3c1e (patch) | |
tree | 23642cabdcb5edfc92e8030274d5fbb08e7c612f /spec/factories/projects.rb | |
parent | c614089d659398133fcdc1e17a74c9ed7a63a34b (diff) |
porting changes from upstream
Diffstat (limited to 'spec/factories/projects.rb')
-rw-r--r-- | spec/factories/projects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/projects.rb b/spec/factories/projects.rb index d0f3911f730..16d328a5bc2 100644 --- a/spec/factories/projects.rb +++ b/spec/factories/projects.rb @@ -90,7 +90,7 @@ FactoryBot.define do end trait :with_avatar do - avatar { File.open(Rails.root.join('spec/fixtures/dk.png')) } + avatar { fixture_file_upload('spec/fixtures/dk.png') } end trait :broken_storage do |