Files
metasploit-gs/spec/support/shared/examples/msf/db_manager/cred.rb
T
christopher lee 3aed6d6666 Initial
2018-04-02 08:08:23 -05:00

13 lines
418 B
Ruby

RSpec.shared_examples_for 'Msf::DBManager::Cred' do
if ENV['REMOTE_DB']
before {skip("Awaiting cred port")}
end
it { is_expected.to respond_to :creds }
it { is_expected.to respond_to :each_cred }
it { is_expected.to respond_to :find_or_create_cred }
it { is_expected.to respond_to :report_auth }
it { is_expected.to respond_to :report_auth_info }
it { is_expected.to respond_to :report_cred }
end