Skip to content

Commit

Permalink
Typhoeus 0.9 has merged my fix that was causing this failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Oct 30, 2012
1 parent 11e310e commit 06ede93
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -56,7 +56,7 @@ def self.test_record_and_playback(description, query)
test_record_and_playback "with a complex escaped query param", "q=#{CGI.escape("A&(! 234k !@ kasdj232\#$ kjw35")}" test_record_and_playback "with a complex escaped query param", "q=#{CGI.escape("A&(! 234k !@ kasdj232\#$ kjw35")}"


it 'plays back an empty body response exactly as it was recorded (e.g. nil vs empty string)' do it 'plays back an empty body response exactly as it was recorded (e.g. nil vs empty string)' do
pending "awaiting an external fix", :if => library.gsub('_', '/').include?('net/http') && library_hook_name != :webmock do pending "awaiting an external fix", :if => library_hook_name == :fakeweb do
get_body = lambda do get_body = lambda do
VCR.use_cassette('empty_body', :record => :once) do VCR.use_cassette('empty_body', :record => :once) do
get_body_object make_http_request(:get, "http://localhost:#{VCR::SinatraApp.port}/204") get_body_object make_http_request(:get, "http://localhost:#{VCR::SinatraApp.port}/204")
Expand Down

0 comments on commit 06ede93

Please sign in to comment.