Fix JMX Server specs

This commit is contained in:
jvazquez-r7 2015-10-09 12:17:44 -05:00
parent 62272e64ed
commit 3cd9dc4fde
No known key found for this signature in database
GPG Key ID: 38D99152B9352D83
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,10 @@ describe Msf::Java::Rmi::Client::Jmx::Server do
allow_any_instance_of(::StringIO).to receive(:get_once) do |io, length, timeout|
io.read
end
allow_any_instance_of(::StringIO).to receive(:has_read_data?) do |io|
false
end
end
it "returns the reference information" do