spec: modules: Enable instantiation tests for Evasion and Post modules
This commit is contained in:
+10
-4
@@ -18,17 +18,23 @@ RSpec.describe 'modules', :content do
|
||||
modules_pathname: modules_pathname,
|
||||
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',
|
||||
module_type: 'nop',
|
||||
modules_pathname: modules_pathname,
|
||||
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',
|
||||
module_type: 'payload',
|
||||
modules_pathname: modules_pathname,
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user