mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix "warning: instance variable @browser not initialized"
Followup to 000969928d
.
This commit is contained in:
parent
4a906cbbbc
commit
9a6ab5e89e
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ module ActionDispatch
|
|||
require "selenium/webdriver"
|
||||
@browser = Browser.new(options[:using])
|
||||
@browser.preload
|
||||
else
|
||||
@browser = nil
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue