2015-12-31 16:56:13 -06:00
|
|
|
RSpec.shared_examples_for 'Msf::DBManager::Ref' do
|
2018-04-02 08:08:23 -05:00
|
|
|
|
|
|
|
|
if ENV['REMOTE_DB']
|
|
|
|
|
before {skip("Not supported for remote DB")}
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-13 10:12:09 -05:00
|
|
|
it { is_expected.to respond_to :find_or_create_ref }
|
|
|
|
|
it { is_expected.to respond_to :get_ref }
|
|
|
|
|
it { is_expected.to respond_to :has_ref? }
|
|
|
|
|
end
|