Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleaned up tests a bit, since we use the stubs in such a similar way …
…now. Removed test_zip and test_no_zip since they weren't actually testing anything. util_stub_connection_for now takes a straight hash. Conn class now takes a straight payload, since it was never used more than once. fetch_path now takes an optional head argument. Returns headers if true. fetch_size is now a beautiful 1 line long. open_uri_or_path also takes an optional head argument. git-svn-id: http://rubygems.rubyforge.org/svn/trunk@1819 3d4018f9-ac1a-0410-99e9-8a154d859a19
- Loading branch information
zenspider
committed
Jun 24, 2008
1 parent
dc68bb5
commit bdc20cd
Showing
2 changed files
with
42 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters