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

10 lines
285 B
Ruby
Raw Normal View History

2015-12-31 16:56:13 -06:00
RSpec.shared_examples_for 'Msf::DBManager::Task' do
2018-04-02 08:08:23 -05:00
if ENV['REMOTE_DB']
2018-04-26 16:01:15 -05:00
before {skip("Not used for remote data service")}
2018-04-02 08:08:23 -05:00
end
it { is_expected.to respond_to :find_or_create_task }
it { is_expected.to respond_to :report_task }
it { is_expected.to respond_to :tasks }
end