mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
comment update [skip ci]
This commit is contained in:
parent
8cf16bc129
commit
e7ed2a12be
1 changed files with 2 additions and 4 deletions
|
@ -261,10 +261,8 @@ module Capybara
|
|||
|
||||
visit_uri_parts = visit_uri.to_hash.delete_if { |k,v| v.nil? }
|
||||
|
||||
# TODO - this is only for compatability with previous 2.x behavior that concatenated
|
||||
# Capybara.app_host and a "relative" path - Consider removing in 3.0
|
||||
# @abotalov brought up a good point about this behavior potentially being useful to people
|
||||
# deploying to a subdirectory and/or single page apps where only the url fragment changes
|
||||
# Useful to people deploying to a subdirectory
|
||||
# and/or single page apps where only the url fragment changes
|
||||
visit_uri_parts[:path] = uri_base.path + visit_uri.path
|
||||
|
||||
visit_uri = uri_base.merge(visit_uri_parts)
|
||||
|
|
Loading…
Reference in a new issue