Fix service double stubbing

MSP-13484
bug/bundler_fix
Luke Imhoff 2015-10-21 15:37:34 -05:00 committed by Brent Cook
parent c46b97cef9
commit db42c9f760
1 changed files with 3 additions and 5 deletions

View File

@ -16,11 +16,9 @@ RSpec.describe Msf::Exploit::Remote::HttpServer do
end
let(:mock_service) do
mock_service = double 'service',
add_resource: nil,
:'server_name' => nil
mock_service
double 'service',
add_resource: nil,
:'server_name=' => nil
end
before do