Force cache load before test run

MS-2855/keylogger-mettle-extension
christopher lee 2017-11-21 14:43:44 -06:00
parent aee8db5b07
commit e0d8f8e8e9
1 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,10 @@
RSpec.shared_examples_for 'Msf::ModuleManager::Cache' do
# Wait for data to be loaded
before(:all) do
Msf::Modules::Metadata::Cache.instance.get_metadata
end
let(:parent_path) do
parent_pathname.to_path
end