Skip to content

Commit

Permalink
Land #18712, Fix undefined method error in /api/v1/modules endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
adfoster-r7 committed Jan 22, 2024
2 parents d8bdc25 + 9ec36f3 commit 4921f6b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/msf/core/web_services.rb
@@ -1,3 +1,3 @@
module Msf::WebServices

extend Msf::WebServices::ModuleSearch
end
9 changes: 9 additions & 0 deletions spec/lib/msf/core/web_services_spec.rb
@@ -0,0 +1,9 @@
require 'spec_helper'

RSpec.describe Msf::WebServices do
describe '#search_modules' do
it 'exists' do
expect(described_class).to respond_to(:search_modules)
end
end
end

0 comments on commit 4921f6b

Please sign in to comment.