mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
suppress a warning:
lib/capybara/selenium/driver.rb:22: warning: instance variable @exit_status not initialized
This commit is contained in:
parent
16145ad11d
commit
ab36126ad2
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ class Capybara::Selenium::Driver < Capybara::Driver::Base
|
|||
def initialize(app, options={})
|
||||
@app = app
|
||||
@browser = nil
|
||||
@exit_status = nil
|
||||
@options = DEFAULT_OPTIONS.merge(options)
|
||||
@rack_server = Capybara::Server.new(@app)
|
||||
@rack_server.boot if Capybara.run_server
|
||||
|
|
Loading…
Reference in a new issue