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 mod
end end
let(:mock_service) do let(:service_double) do
mock_service = double("service") service = double("service")
mock_service.stub(:server_name=) service.stub(:server_name=)
mock_service.stub(:add_resource) service.stub(:add_resource)
mock_service service
end end
before do before do
Rex::ServiceManager.stub(:start => mock_service) Rex::ServiceManager.stub(:start => service_double)
end end
describe ".get_module_resource" do describe ".get_module_resource" do