Nos suites de tests passent localement. Mais dans Circle CI, nous obtenons une erreur comme ci-dessous pour tous les tests d'intégration que nous avons écrits en utilisant capybara, Rspec.Addressable :: URI :: InvalidURIError: Impossible d'avoir un chemin avec deux barres obliques sans autorité: '//'
Failures:
1) the inspection access When inspector has no access removes inspection from table
Failure/Error: visit '/'
Addressable::URI::InvalidURIError:
Cannot have a path with two leading slashes without an authority set: '//'
# /home/ubuntu/.bundle_end_to_end/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable/uri.rb:2429:in `validate'
# /home/ubuntu/.bundle_end_to_end/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable/uri.rb:1538:in `path='
# /home/ubuntu/.bundle_end_to_end/ruby/2.3.0/gems/capybara-2.15.2/lib/capybara/session.rb:265:in `visit'
# /home/ubuntu/.bundle_end_to_end/ruby/2.3.0/gems/capybara-2.15.2/lib/capybara/dsl.rb:50:in `block (2 levels) in <module:DSL>'
# ./spec/support/sessions_management.rb:3:in `sign_in'
# ./spec/support/sessions_management.rb:19:in `sign_in_as'
# ./spec/inspection_access_spec.rb:11:in `block (3 levels) in <top (required)>'
2) the inspection access When inspector has access adds the inspection to the table
Failure/Error: visit '/'
Addressable::URI::InvalidURIError:
Cannot have a path with two leading slashes without an authority set: '//'
Rails 4.2.8 et Ruby 2.3.3. Une idée où devrions-nous nous pencher?
Bonjour Thomas. Oui, tu as raison. Nous avons compris cela et résolu. Mais merci encore de prendre le temps de répondre. –
@ArupRakshit FYI - correction est dans Capybara master - 2.15.3 sera publié plus tard aujourd'hui –