Files
metasploit-gs/spec/modules_spec.rb
T

30 lines
1.3 KiB
Ruby
Raw Normal View History

require 'spec_helper'
2015-10-16 15:57:04 -05:00
RSpec.describe 'modules', :content do
modules_pathname = Pathname.new(__FILE__).parent.parent.join('modules')
it_should_behave_like 'all modules with module type can be instantiated',
module_type: 'auxiliary',
modules_pathname: modules_pathname,
type_directory: 'auxiliary'
2014-10-20 13:31:12 -05:00
it_should_behave_like 'all modules with module type can be instantiated',
module_type: 'encoder',
modules_pathname: modules_pathname,
type_directory: 'encoders'
2014-10-20 13:32:55 -05:00
it_should_behave_like 'all modules with module type can be instantiated',
module_type: 'exploit',
modules_pathname: modules_pathname,
type_directory: 'exploits'
2014-10-20 13:35:57 -05:00
it_should_behave_like 'all modules with module type can be instantiated',
module_type: 'nop',
modules_pathname: modules_pathname,
type_directory: 'nops'
2014-10-20 13:42:21 -05:00
it_should_behave_like 'all modules with module type can be instantiated',
module_type: 'post',
modules_pathname: modules_pathname,
type_directory: 'posts'
end