summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/import_export/avatar_saver_spec.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2018-06-05 16:18:06 -0500
committerRobert Speicher <rspeicher@gmail.com>2018-06-07 09:54:41 -0500
commit6d165c740cecf6aff4c7ec0bbb962e7964c15f1b (patch)
tree69df90ce77be1a6c679275f4fef7af5efba91095 /spec/lib/gitlab/import_export/avatar_saver_spec.rb
parent0b4312c676ec5d7d07cf866a80dda5da2dbe1b9e (diff)
downloadgitlab-ce-6d165c740cecf6aff4c7ec0bbb962e7964c15f1b.tar.gz
Make all uses of `fixture_file_upload` use relative paths
Diffstat (limited to 'spec/lib/gitlab/import_export/avatar_saver_spec.rb')
-rw-r--r--spec/lib/gitlab/import_export/avatar_saver_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/import_export/avatar_saver_spec.rb b/spec/lib/gitlab/import_export/avatar_saver_spec.rb
index f40d4bc2d08..2223f163177 100644
--- a/spec/lib/gitlab/import_export/avatar_saver_spec.rb
+++ b/spec/lib/gitlab/import_export/avatar_saver_spec.rb
@@ -3,7 +3,7 @@ require 'spec_helper'
describe Gitlab::ImportExport::AvatarSaver do
let(:shared) { project.import_export_shared }
let(:export_path) { "#{Dir.tmpdir}/project_tree_saver_spec" }
- let(:project_with_avatar) { create(:project, avatar: fixture_file_upload(Rails.root + "spec/fixtures/dk.png", "image/png")) }
+ let(:project_with_avatar) { create(:project, avatar: fixture_file_upload("spec/fixtures/dk.png", "image/png")) }
let(:project) { create(:project) }
before do