Recalculate for tests
This commit is contained in:
parent
df04435d49
commit
b41389c1dd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue