Sha256: 2e4b35e9972c575d232885b98c665e4e02ac9f52dacb86ad5a782a83f58846ab
Contents?: true
Size: 590 Bytes
Versions: 73
Compression:
Stored size: 590 Bytes
Contents
shared_context 'metasploit_credential_importer_zip_file' do # # Methods # def remove_metasploit_credential_importer_zip_files # Using POSIX filepath here b/c we don't care about RSpec on Windows Dir.glob("/tmp/metasploit_credential_importer_zip_file*") do |path| FileUtils.rm_rf(path) end end # # Callbacks # # Clean up leftovers from aborted spec runs. before(:each) do remove_metasploit_credential_importer_zip_files end # Clean up after completed spec runs. after(:each) do remove_metasploit_credential_importer_zip_files end end
Version data entries
73 entries across 73 versions & 1 rubygems