Files
metasploit-gs/spec/support/shared/examples/msf/db_manager/vuln.rb
T
2014-10-09 15:51:39 -05:00

10 lines
443 B
Ruby

shared_examples_for 'Msf::DBManager::Vuln' do
it { is_expected.to respond_to :each_vuln }
it { is_expected.to respond_to :find_or_create_vuln }
it { is_expected.to respond_to :find_vuln_by_details }
it { is_expected.to respond_to :find_vuln_by_refs }
it { is_expected.to respond_to :get_vuln }
it { is_expected.to respond_to :has_vuln? }
it { is_expected.to respond_to :report_vuln }
it { is_expected.to respond_to :vulns }
end