1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-29 18:07:27 +01:00

Extract Msf::DBManager::Import::Foundstone shared examples

MSP-11124
This commit is contained in:
Luke Imhoff 2014-10-15 09:31:17 -05:00
parent 2e85dc910a
commit 0bfc496824
No known key found for this signature in database
GPG Key ID: 5B1FB01FB33356F8
2 changed files with 5 additions and 2 deletions

View File

@ -4,8 +4,6 @@ shared_examples_for 'Msf::DBManager::Import' do
it { is_expected.to respond_to :import }
it { is_expected.to respond_to :import_file }
it { is_expected.to respond_to :import_filetype_detect }
it { is_expected.to respond_to :import_foundstone_noko_stream }
it { is_expected.to respond_to :import_foundstone_xml }
it { is_expected.to respond_to :import_fusionvm_xml }
it { is_expected.to respond_to :import_ip_list }
it { is_expected.to respond_to :import_ip_list_file }
@ -68,6 +66,7 @@ shared_examples_for 'Msf::DBManager::Import' do
it_should_behave_like 'Msf::DBManager::Import::Appscan'
it_should_behave_like 'Msf::DBManager::Import::Burp'
it_should_behave_like 'Msf::DBManager::Import::CI'
it_should_behave_like 'Msf::DBManager::Import::Foundstone'
it_should_behave_like 'Msf::DBManager::Import::IP360'
it_should_behave_like 'Msf::DBManager::Import::MsfXml'
it_should_behave_like 'Msf::DBManager::Import::Qualys'

View File

@ -0,0 +1,4 @@
shared_examples_for 'Msf::DBManager::Import::Foundstone' do
it { is_expected.to respond_to :import_foundstone_noko_stream }
it { is_expected.to respond_to :import_foundstone_xml }
end