diff options
author | Micaël Bergeron <mbergeron@gitlab.com> | 2018-02-01 14:24:59 -0500 |
---|---|---|
committer | Micaël Bergeron <mbergeron@gitlab.com> | 2018-02-01 15:08:35 -0500 |
commit | a5bb17ffd5d466568c3bcea161bac42123bd3c1e (patch) | |
tree | 23642cabdcb5edfc92e8030274d5fbb08e7c612f /spec/factories/groups.rb | |
parent | c614089d659398133fcdc1e17a74c9ed7a63a34b (diff) | |
download | gitlab-ce-a5bb17ffd5d466568c3bcea161bac42123bd3c1e.tar.gz |
porting changes from upstream3867-port-to-ce
Diffstat (limited to 'spec/factories/groups.rb')
-rw-r--r-- | spec/factories/groups.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/groups.rb b/spec/factories/groups.rb index 1512f5a0e58..8c531cf5909 100644 --- a/spec/factories/groups.rb +++ b/spec/factories/groups.rb @@ -18,7 +18,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 :access_requestable do |