Match Rspec terminology

bug/bundler_fix
sinn3r 2013-11-04 10:37:41 -06:00
parent 094abdd093
commit 1d5643d53c
1 changed files with 6 additions and 6 deletions

View File

@ -11,16 +11,16 @@ describe Msf::Exploit::Remote::BrowserExploitServer do
mod
end
let(:mock_service) do
mock_service = double("service")
mock_service.stub(:server_name=)
mock_service.stub(:add_resource)
let(:service_double) do
service = double("service")
service.stub(:server_name=)
service.stub(:add_resource)
mock_service
service
end
before do
Rex::ServiceManager.stub(:start => mock_service)
Rex::ServiceManager.stub(:start => service_double)
end
describe ".get_module_resource" do