Stub has_read_data?
parent
eabe742b9d
commit
3d1ec54f02
|
@ -48,6 +48,10 @@ describe Msf::Java::Rmi::Client 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
|
||||
|
||||
describe "#send_header" do
|
||||
|
|
Loading…
Reference in New Issue