mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
parent
82c992edf2
commit
62bd215a47
2 changed files with 1 additions and 5 deletions
|
@ -14,7 +14,7 @@ module Capybara
|
|||
class InfiniteRedirectError < TimeoutError; end
|
||||
|
||||
class << self
|
||||
attr_accessor :debug, :asset_root, :app_host, :run_server, :default_host
|
||||
attr_accessor :debug, :asset_root, :app_host, :run_server
|
||||
attr_accessor :default_selector, :default_wait_time, :ignore_hidden_elements
|
||||
|
||||
def default_selector
|
||||
|
|
|
@ -182,10 +182,6 @@ class Capybara::Driver::RackTest < Capybara::Driver::Base
|
|||
|
||||
private
|
||||
|
||||
def build_rack_mock_session # :nodoc:
|
||||
Rack::MockSession.new(app, Capybara.default_host)
|
||||
end
|
||||
|
||||
def current_path
|
||||
request.path rescue ""
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue