summaryrefslogtreecommitdiff
path: root/spec/factories/groups.rb
diff options
context:
space:
mode:
authorMicaël Bergeron <mbergeron@gitlab.com>2018-02-01 14:24:59 -0500
committerMicaël Bergeron <mbergeron@gitlab.com>2018-02-01 15:08:35 -0500
commita5bb17ffd5d466568c3bcea161bac42123bd3c1e (patch)
tree23642cabdcb5edfc92e8030274d5fbb08e7c612f /spec/factories/groups.rb
parentc614089d659398133fcdc1e17a74c9ed7a63a34b (diff)
downloadgitlab-ce-a5bb17ffd5d466568c3bcea161bac42123bd3c1e.tar.gz
porting changes from upstream3867-port-to-ce
Diffstat (limited to 'spec/factories/groups.rb')
-rw-r--r--spec/factories/groups.rb2
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