Recalculate for tests

This commit is contained in:
Spencer McIntyre 2022-03-21 17:44:10 -04:00
parent df04435d49
commit b41389c1dd
1 changed files with 2 additions and 1 deletions

View File

@ -154,6 +154,7 @@ RSpec.shared_context 'Msf::Simple::Framework#modules loading' do
)
module_set = module_set_for_type(module_type)
module_set.recalculate
module_instance = module_set.create(reference_name)
expect(module_instance).not_to(
@ -182,4 +183,4 @@ RSpec.shared_context 'Msf::Simple::Framework#modules loading' do
let(:modules_path) {
Rails.application.paths['modules'].expanded.first
}
end
end