mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Merge pull request #899 from bcardarella/master
Don't parse current_host when building mock session
This commit is contained in:
commit
7137de89d2
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ protected
|
|||
|
||||
def build_rack_mock_session
|
||||
reset_host! unless current_host
|
||||
Rack::MockSession.new(app, URI.parse(current_host).host)
|
||||
Rack::MockSession.new(app, current_host)
|
||||
end
|
||||
|
||||
def request_path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue