Skip to content

Instantly share code, notes, and snippets.

@Claster
Created March 27, 2014 13:33
Show Gist options
  • Save Claster/e18074cb530016e196b7 to your computer and use it in GitHub Desktop.
Save Claster/e18074cb530016e196b7 to your computer and use it in GitHub Desktop.
Failures:
 1) Net:HTTP after_request callback support should support the after_request callback on a request with a returning block
    Failure/Error: http_request(:get, "http://localhost:#{port}/") do |response|
    NoMethodError:
      undefined method `each_header' for "hello world":String
    # ./spec/acceptance/net_http/net_http_spec_helper.rb:35:in `http_request'
    # ./spec/acceptance/net_http/net_http_spec.rb:251:in `perform_get_with_returning_block'
    # ./spec/acceptance/net_http/net_http_spec.rb:267:in `(root)'
Finished in 35.15 seconds
1579 examples, 1 failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment