Extract Msf::DBManager::Import::MetasploitFramework::Zip shared examples

MSP-11124
bug/bundler_fix
Luke Imhoff 2014-10-15 11:02:27 -05:00
parent 46a2c47dfe
commit 7d101be0f5
No known key found for this signature in database
GPG Key ID: 5B1FB01FB33356F8
3 changed files with 5 additions and 2 deletions

View File

@ -4,11 +4,9 @@ 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_msf_collateral }
it { is_expected.to respond_to :import_msf_cred_dump }
it { is_expected.to respond_to :import_msf_cred_dump_zip }
it { is_expected.to respond_to :import_msf_pwdump }
it { is_expected.to respond_to :import_msf_zip }
it { is_expected.to respond_to :import_nessus_nbe }
it { is_expected.to respond_to :import_nessus_nbe_file }
it { is_expected.to respond_to :import_nessus_xml }

View File

@ -1,3 +1,4 @@
shared_examples_for 'Msf::DBManager::Import::MetasploitFramework' do
it_should_behave_like 'Msf::DBManager::Import::MetasploitFramework::XML'
it_should_behave_like 'Msf::DBManager::Import::MetasploitFramework::Zip'
end

View File

@ -0,0 +1,4 @@
shared_examples_for 'Msf::DBManager::Import::MetasploitFramework::Zip' do
it { is_expected.to respond_to :import_msf_collateral }
it { is_expected.to respond_to :import_msf_zip }
end