From 21c45d5f184e541b544e9a5adf34d7c28ddab7df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Meny?= Date: Thu, 11 Aug 2022 09:51:30 +0100 Subject: [PATCH] Rubocop --- spec/lib/tasks/full_import_spec.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/spec/lib/tasks/full_import_spec.rb b/spec/lib/tasks/full_import_spec.rb index 69f07ad2e..c7fedc6dd 100644 --- a/spec/lib/tasks/full_import_spec.rb +++ b/spec/lib/tasks/full_import_spec.rb @@ -9,16 +9,6 @@ describe "rake core:full_import", type: :task do let(:archive_service) { instance_double(ArchiveStorageService) } let(:paas_config_service) { instance_double(PaasConfigurationService) } - # let(:archive) { - # zip_file = Zip::File.open_buffer(StringIO.new) - # Dir["#{fixture_path}/**/*.xml"].each do |path| - # fixture_pathname = Pathname.new(fixture_path) - # relative_pathname = Pathname(path).relative_path_from(fixture_pathname).to_s - # zip_file.add(relative_pathname, File.open(path)) - # end - # zip_file.write_buffer - # } - before do Rake.application.rake_require("tasks/full_import") Rake::Task.define_task(:environment) @@ -92,6 +82,4 @@ describe "rake core:full_import", type: :task do end end end - - end