Permalink
Browse files

moved the spec on timeout to @net from @http

  • Loading branch information...
1 parent e53c3e1 commit 9cfa20255b4329fb5baf21176deb7d1d94566ce1 Dusty Doris committed Jan 31, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/request_spec.rb
View
@@ -289,7 +289,7 @@
@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 @@
@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

0 comments on commit 9cfa202

Please sign in to comment.