Fix JMX Server specs
parent
62272e64ed
commit
3cd9dc4fde
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue