mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Fix ruby warning
This fixes following warning: ``` capybara/lib/capybara.rb:396: warning: instance variable @specified_session not initialized ```
This commit is contained in:
parent
b5a7b747a2
commit
5c17eaa402
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ module Capybara
|
|||
if threadsafe
|
||||
Thread.current['capybara_specified_session']
|
||||
else
|
||||
@specified_session
|
||||
@specified_session ||= nil
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue