spec: modules: Enable instantiation tests for Evasion and Post modules

This commit is contained in:
bcoles
2025-05-07 21:52:59 +10:00
parent 619a284408
commit b0682e3db0
+10 -4
View File
@@ -18,17 +18,23 @@ RSpec.describe 'modules', :content do
modules_pathname: modules_pathname, modules_pathname: modules_pathname,
type_directory: 'exploits' type_directory: 'exploits'
it_should_behave_like 'all modules with module type can be instantiated',
module_type: 'evasion',
modules_pathname: modules_pathname,
type_directory: 'evasion'
it_should_behave_like 'all modules with module type can be instantiated', it_should_behave_like 'all modules with module type can be instantiated',
module_type: 'nop', module_type: 'nop',
modules_pathname: modules_pathname, modules_pathname: modules_pathname,
type_directory: 'nops' type_directory: 'nops'
it_should_behave_like 'all modules with module type can be instantiated',
module_type: 'post',
modules_pathname: modules_pathname,
type_directory: 'posts'
it_should_behave_like 'all modules with module type can be instantiated', it_should_behave_like 'all modules with module type can be instantiated',
module_type: 'payload', module_type: 'payload',
modules_pathname: modules_pathname, modules_pathname: modules_pathname,
type_directory: 'payload' type_directory: 'payload'
it_should_behave_like 'all modules with module type can be instantiated',
module_type: 'post',
modules_pathname: modules_pathname,
type_directory: 'post'
end end