summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-11-22 14:43:26 +0100
committerJames Lopez <james@jameslopez.es>2017-11-23 10:44:11 +0100
commitbe945c38e2c824372f2660ece373d99c2c5b23aa (patch)
tree5b69e4cf54fab95c79096cd339fff1e38493a395
parent30943bd9f4a0fa07fa02d6eaa37f2c6222d27d90 (diff)
downloadgitlab-ce-be945c38e2c824372f2660ece373d99c2c5b23aa.tar.gz
fix spec
-rw-r--r--spec/lib/gitlab/import_export/uploads_restorer_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/lib/gitlab/import_export/uploads_restorer_spec.rb b/spec/lib/gitlab/import_export/uploads_restorer_spec.rb
index 4917b945003..c5df9babfc1 100644
--- a/spec/lib/gitlab/import_export/uploads_restorer_spec.rb
+++ b/spec/lib/gitlab/import_export/uploads_restorer_spec.rb
@@ -5,10 +5,6 @@ describe Gitlab::ImportExport::UploadsRestorer do
let(:export_path) { "#{Dir.tmpdir}/uploads_saver_spec" }
let(:shared) { Gitlab::ImportExport::Shared.new(relative_path: project.full_path) }
let(:uploads_path) { File.join(CarrierWave.root, GitlabUploader.root_dir) }
- let(:restorer) do
- described_class.new(shared: shared,
- project: project)
- end
before do
allow_any_instance_of(Gitlab::ImportExport).to receive(:storage_path).and_return(export_path)