summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/import_export/uploads_restorer_spec.rb
diff options
context:
space:
mode:
authorTravis Miller <travis@travismiller.com>2018-02-24 22:43:16 -0600
committerTravis Miller <travis@travismiller.com>2018-02-28 20:47:37 -0600
commit737b7e3e7d8098493804f2c7261eec58268af2d1 (patch)
tree7adb5fcbd2c2f85b58a3f49a093f5c2d4d50f636 /spec/lib/gitlab/import_export/uploads_restorer_spec.rb
parentb1e3237677f9cdc4e0e792f26dbc3fc642c7ef28 (diff)
downloadgitlab-ce-737b7e3e7d8098493804f2c7261eec58268af2d1.tar.gz
review: normalize shared initizlier arguments
Diffstat (limited to 'spec/lib/gitlab/import_export/uploads_restorer_spec.rb')
-rw-r--r--spec/lib/gitlab/import_export/uploads_restorer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/import_export/uploads_restorer_spec.rb b/spec/lib/gitlab/import_export/uploads_restorer_spec.rb
index 8a3a244be21..d466bfc7667 100644
--- a/spec/lib/gitlab/import_export/uploads_restorer_spec.rb
+++ b/spec/lib/gitlab/import_export/uploads_restorer_spec.rb
@@ -3,7 +3,7 @@ require 'spec_helper'
describe Gitlab::ImportExport::UploadsRestorer do
describe 'bundle a project Git repo' do
let(:export_path) { "#{Dir.tmpdir}/uploads_saver_spec" }
- let(:shared) { Gitlab::ImportExport::Shared.new(relative_path: project.full_path) }
+ let(:shared) { Gitlab::ImportExport::Shared.new(project) }
before do
allow_any_instance_of(Gitlab::ImportExport).to receive(:storage_path).and_return(export_path)