Revert accidental changes

This commit is contained in:
Dean Welch 2023-07-06 17:16:15 +01:00
parent 9eb4385a25
commit ef871685af
3 changed files with 1 additions and 10 deletions

View File

@ -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

View File

@ -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 }

View File

@ -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