Files
metasploit-gs/spec/support/shared/examples/msf/db_manager/host.rb
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
376 B
Ruby
Raw Normal View History

2015-12-31 16:56:13 -06:00
RSpec.shared_examples_for 'Msf::DBManager::Host' do
2018-04-02 08:08:23 -05:00
unless ENV['REMOTE_DB']
it { is_expected.to respond_to :each_host }
it { is_expected.to respond_to :del_host }
end
it { is_expected.to respond_to :find_or_create_host }
it { is_expected.to respond_to :get_host }
it { is_expected.to respond_to :hosts }
it { is_expected.to respond_to :report_host }
2021-05-13 14:39:43 +01:00
end