summaryrefslogtreecommitdiff
path: root/spec/features/projects/import_export
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-08-10 18:31:42 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-08-10 19:29:42 -0400
commitc8b802471bcb6ea9ea7af3c7a139598a1f945230 (patch)
treefb3fe5c094d8a831ede19d4ff2f1471914744907 /spec/features/projects/import_export
parent4ef10795ce5e24dc0f905daeb7236fe707a8c195 (diff)
downloadgitlab-ce-c8b802471bcb6ea9ea7af3c7a139598a1f945230.tar.gz
Enable the RSpec/HookArgument cop and auto-correct offenses
Diffstat (limited to 'spec/features/projects/import_export')
-rw-r--r--spec/features/projects/import_export/import_file_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/import_export/import_file_spec.rb b/spec/features/projects/import_export/import_file_spec.rb
index 24e7843db63..6a324d32ca7 100644
--- a/spec/features/projects/import_export/import_file_spec.rb
+++ b/spec/features/projects/import_export/import_file_spec.rb
@@ -10,7 +10,7 @@ feature 'Import/Export - project import integration test', js: true do
allow_any_instance_of(Gitlab::ImportExport).to receive(:storage_path).and_return(export_path)
end
- after(:each) do
+ after do
FileUtils.rm_rf(export_path, secure: true)
end