Files
metasploit-gs/spec/support/shared/examples/msf/db_manager/cred.rb
T
Matthew Kienow 35f95e4b04 Update test for new cred methods
Correct remote data service test behavior.
2019-01-18 12:34:29 -05:00

15 lines
555 B
Ruby

RSpec.shared_examples_for 'Msf::DBManager::Cred' do
unless ENV['REMOTE_DB']
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
it { is_expected.to respond_to :creds }
it { is_expected.to respond_to :create_credential }
it { is_expected.to respond_to :update_credential }
it { is_expected.to respond_to :delete_credentials }
end