b05a466e0a
MSP-11124
10 lines
443 B
Ruby
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 |