Extract Msf::DBManager::Import::Nexpose::Simple shared examples

MSP-11124
bug/bundler_fix
Luke Imhoff 2014-10-15 12:44:24 -05:00
parent e64a14c748
commit 3049301c96
No known key found for this signature in database
GPG Key ID: 5B1FB01FB33356F8
3 changed files with 6 additions and 3 deletions

View File

@ -4,9 +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_nexpose_noko_stream }
it { is_expected.to respond_to :import_nexpose_simplexml }
it { is_expected.to respond_to :import_nexpose_simplexml_file }
it { is_expected.to respond_to :import_nikto_xml }
it { is_expected.to respond_to :import_nmap_noko_stream }
it { is_expected.to respond_to :import_nmap_xml }

View File

@ -1,3 +1,4 @@
shared_examples_for 'Msf::DBManager::Import::Nexpose' do
it_should_behave_like 'Msf::DBManager::Import::Nexpose::Raw'
it_should_behave_like 'Msf::DBManager::Import::Nexpose::Simple'
end

View File

@ -0,0 +1,5 @@
shared_examples_for 'Msf::DBManager::Import::Nexpose::Simple' do
it { is_expected.to respond_to :import_nexpose_noko_stream }
it { is_expected.to respond_to :import_nexpose_simplexml }
it { is_expected.to respond_to :import_nexpose_simplexml_file }
end