Extract Msf::DBManager::Import::Nexpose::Simple shared examples
MSP-11124bug/bundler_fix
parent
e64a14c748
commit
3049301c96
|
@ -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 }
|
||||
|
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue