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

12 lines
401 B
Ruby
Raw Normal View History

2015-12-31 16:56:13 -06:00
RSpec.shared_examples_for 'Msf::DBManager::Service' do
2018-03-16 17:10:02 -05:00
it { is_expected.to respond_to :delete_service }
2018-04-02 08:08:23 -05:00
unless ENV['REMOTE_DB']
it { is_expected.to respond_to :each_service }
it { is_expected.to respond_to :find_or_create_service }
it { is_expected.to respond_to :get_service }
end
it { is_expected.to respond_to :report_service }
it { is_expected.to respond_to :services }
end