Add skip message, add event test

This commit is contained in:
christopher lee
2018-05-03 14:20:32 -05:00
parent 038fe03777
commit 94de5a4e42
2 changed files with 3 additions and 4 deletions
@@ -1,9 +1,8 @@
RSpec.shared_examples_for 'Msf::DBManager::Event' do
if ENV['REMOTE_DB']
before {skip("Awaiting event port")}
unless ENV['REMOTE_DB']
it { is_expected.to respond_to :events }
end
it { is_expected.to respond_to :events }
it { is_expected.to respond_to :report_event }
end
@@ -1,7 +1,7 @@
RSpec.shared_examples_for 'Msf::DBManager::HostTag' do
if ENV['REMOTE_DB']
before {skip("")}
before {skip("Awaiting host tag port")}
end
it { is_expected.to respond_to :report_host_tag }