bug/bundler_fix
sinn3r 2013-11-04 10:57:01 -06:00
parent f98587181d
commit 9a8e45f451
1 changed files with 2 additions and 2 deletions

View File

@ -109,14 +109,14 @@ describe Msf::Exploit::Remote::BrowserExploitServer do
server.start_service
server.init_profile(random)
p = server.get_profile("non_existent_profile")
p.should eq(nil)
p.should be_nil
end
it "should return a profile if found" do
server.start_service
server.init_profile(random)
p = server.get_profile(random)
p[random].should_not eq(nil)
p[random].should_not be_nil
end
end