Skip to content

Commit e0d8f8e

Browse files
committed
Force cache load before test run
1 parent aee8db5 commit e0d8f8e

File tree

1 file changed

+6
-0
lines changed
  • spec/support/shared/examples/msf/module_manager

1 file changed

+6
-0
lines changed

spec/support/shared/examples/msf/module_manager/cache.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
RSpec.shared_examples_for 'Msf::ModuleManager::Cache' do
2+
3+
# Wait for data to be loaded
4+
before(:all) do
5+
Msf::Modules::Metadata::Cache.instance.get_metadata
6+
end
7+
28
let(:parent_path) do
39
parent_pathname.to_path
410
end

0 commit comments

Comments
 (0)