Extract Msf::DBManager::Import::MetasploitFramework::Zip shared examples
MSP-11124bug/bundler_fix
parent
46a2c47dfe
commit
7d101be0f5
|
@ -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 }
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue