Revert accidental changes
This commit is contained in:
parent
9eb4385a25
commit
ef871685af
|
@ -225,14 +225,6 @@ module Msf
|
|||
self.class.adapted_refname
|
||||
end
|
||||
|
||||
def adapter_refname
|
||||
self.class.adapter_refname
|
||||
end
|
||||
|
||||
def stage_refname
|
||||
self.class.stage_refname
|
||||
end
|
||||
|
||||
# @return [String, nil] Reference name of the payloads adapter
|
||||
def adapter_refname
|
||||
self.class.adapter_refname
|
||||
|
|
|
@ -550,7 +550,6 @@ RSpec.describe Msf::Modules::Loader::Base do
|
|||
|
||||
before(:example) do
|
||||
allow(subject).to receive(:module_path).and_return(module_path)
|
||||
allow(subject).to receive(:read_module_content_from_path)
|
||||
end
|
||||
|
||||
let(:cached_metadata) { nil }
|
||||
|
|
|
@ -198,7 +198,7 @@ RSpec.shared_examples_for 'Msf::ModuleManager::Cache' do
|
|||
reference_name,
|
||||
:force => true,
|
||||
:cached_metadata => nil
|
||||
).and_call_original
|
||||
).and_call_original
|
||||
|
||||
load_cached_module
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue