1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-29 18:07:27 +01:00
metasploit-framework/spec/modules_spec.rb
Luke Imhoff 43552a8304
Tag module specs with :content
MSP-11145

Tag content-related specs so they can be run separately in travis-ci.
2014-10-27 14:25:34 -05:00

30 lines
1.3 KiB
Ruby

require 'spec_helper'
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'
it_should_behave_like 'all modules with module type can be instantiated',
module_type: 'encoder',
modules_pathname: modules_pathname,
type_directory: 'encoders'
it_should_behave_like 'all modules with module type can be instantiated',
module_type: 'exploit',
modules_pathname: modules_pathname,
type_directory: 'exploits'
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'
end