2015-12-31 16:56:13 -06:00
|
|
|
RSpec.shared_examples_for 'Msf::DBManager::Cred' do
|
2018-04-02 08:08:23 -05:00
|
|
|
|
2019-01-18 12:34:29 -05:00
|
|
|
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
|
|
|
|
|
|
2014-10-09 11:44:15 -05:00
|
|
|
it { is_expected.to respond_to :creds }
|
2019-01-18 12:34:29 -05:00
|
|
|
it { is_expected.to respond_to :create_credential }
|
|
|
|
|
it { is_expected.to respond_to :update_credential }
|
|
|
|
|
it { is_expected.to respond_to :delete_credentials }
|
2014-10-09 11:44:15 -05:00
|
|
|
end
|