~ubuntu-branches/debian/sid/ruby-rack-proxy/sid

« back to all changes in this revision

Viewing changes to test/rack_proxy_test.rb

  • Committer: Package Import Robot
  • Author(s): Pirate Praveen
  • Date: 2017-04-11 12:06:38 UTC
  • Revision ID: package-import@ubuntu.com-20170411120638-va8haon9nv84sdhq
Tags: 0.6.1-1
Initial release (Closes: #859878)

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    assert_match(/Jacek Becela/, last_response.body)
29
29
  end
30
30
 
31
 
  def test_http_full_request_headers
32
 
    app(:streaming => false)
33
 
    app.host = 'www.google.com'
34
 
    get "/"
35
 
    assert !Array(last_response['Set-Cookie']).empty?, 'Google always sets a cookie, yo. Where my cookies at?!'
36
 
  end
 
31
#  def test_http_full_request_headers
 
32
#    app(:streaming => false)
 
33
#    app.host = 'www.google.com'
 
34
#    get "/"
 
35
#    assert !Array(last_response['Set-Cookie']).empty?, 'Google always sets a cookie, yo. Where my cookies at?!'
 
36
#  end
37
37
 
38
38
  def test_https_streaming
39
39
    app.host = 'www.apple.com'