You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2018/07/31 00:51:22 UTC
buildr git commit: Update spec to reflect changes in behaviour
Repository: buildr
Updated Branches:
refs/heads/master 6f357ea1b -> 69541b0ef
Update spec to reflect changes in behaviour
Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/69541b0e
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/69541b0e
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/69541b0e
Branch: refs/heads/master
Commit: 69541b0ef164b8006f025c7a83a86d7b5efcd49b
Parents: 6f357ea
Author: Peter Donald <pe...@realityforge.org>
Authored: Tue Jul 31 10:51:11 2018 +1000
Committer: Peter Donald <pe...@realityforge.org>
Committed: Tue Jul 31 10:51:11 2018 +1000
----------------------------------------------------------------------
spec/core/transport_spec.rb | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/buildr/blob/69541b0e/spec/core/transport_spec.rb
----------------------------------------------------------------------
diff --git a/spec/core/transport_spec.rb b/spec/core/transport_spec.rb
index d00c46b..9820cb6 100644
--- a/spec/core/transport_spec.rb
+++ b/spec/core/transport_spec.rb
@@ -375,6 +375,7 @@ describe URI::HTTP, '#write' do
@uri = URI('http://john:secret@host.domain/foo/bar/baz.jar')
@http = double('Net::HTTP')
@http.stub(:request).and_return(Net::HTTPOK.new(nil, nil, nil))
+ @http.should_receive(:read_timeout=).with(500)
Net::HTTP.stub(:new).and_return(@http)
end