Files
metasploit-gs/spec/support/shared/examples/msf/db_manager/vuln.rb
T
christopher lee e97693d056 Cleanup
2018-04-26 16:01:15 -05:00

14 lines
495 B
Ruby

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