mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
moved the spec on timeout to @net from @http
This commit is contained in:
parent
e53c3e12b1
commit
9cfa20255b
1 changed files with 2 additions and 2 deletions
|
@ -289,7 +289,7 @@ describe RestClient::Request do
|
|||
@request.stub!(:process_result)
|
||||
@request.stub!(:response_log)
|
||||
|
||||
@http.should_receive(:read_timeout=).with(123)
|
||||
@net.should_receive(:read_timeout=).with(123)
|
||||
|
||||
@request.transmit(@uri, 'req', nil)
|
||||
end
|
||||
|
@ -300,7 +300,7 @@ describe RestClient::Request do
|
|||
@request.stub!(:process_result)
|
||||
@request.stub!(:response_log)
|
||||
|
||||
@http.should_receive(:open_timeout=).with(123)
|
||||
@net.should_receive(:open_timeout=).with(123)
|
||||
|
||||
@request.transmit(@uri, 'req', nil)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue