Package: ruby-faraday
Version: 1.0.0-1
Severity: wishlist
Control: tag -1 help

There is a new upstream release. But when trying to update, two tests failed.

The changes are pushed to master branch in salsa.

Failures:

1) Faraday::Connection proxy support allows when url not in no proxy list
    Failure/Error: expect(conn.proxy.host).to eq('proxy.com')

    NoMethodError:
      undefined method `host' for nil:NilClass
# ./spec/faraday/connection_spec.rb:432:in `block (4 levels) in <top (required)>'
    # ./spec/support/helper_methods.rb:60:in `with_env'
# ./spec/faraday/connection_spec.rb:430:in `block (3 levels) in <top (required)>'

2) Faraday::Connection proxy support performing a request dynamically checks proxy Failure/Error: expect(req.options.proxy.uri.host).to eq('proxy.com')

    NoMethodError:
      undefined method `uri' for nil:NilClass
# ./spec/faraday/connection_spec.rb:522:in `block (6 levels) in <top (required)>'
    # ./lib/faraday/connection.rb:200:in `block in get'
    # ./lib/faraday/connection.rb:489:in `block in run_request'
    # ./lib/faraday/connection.rb:506:in `block in build_request'
    # ./lib/faraday/request.rb:57:in `block in create'
    # ./lib/faraday/request.rb:56:in `tap'
    # ./lib/faraday/request.rb:56:in `create'
    # ./lib/faraday/connection.rb:502:in `build_request'
    # ./lib/faraday/connection.rb:484:in `run_request'
    # ./lib/faraday/connection.rb:198:in `get'
# ./spec/faraday/connection_spec.rb:521:in `block (5 levels) in <top (required)>'
    # ./spec/support/helper_methods.rb:60:in `with_env'
# ./spec/faraday/connection_spec.rb:517:in `block (4 levels) in <top (required)>'

Finished in 22.24 seconds (files took 1.13 seconds to load)
2543 examples, 2 failures

Failed examples:

rspec ./spec/faraday/connection_spec.rb:429 # Faraday::Connection proxy support allows when url not in no proxy list rspec ./spec/faraday/connection_spec.rb:516 # Faraday::Connection proxy support performing a request dynamically checks proxy

Randomized with seed 21956

Reply via email to