1
0
Fork 0
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:
yuuji.yaginuma 2018-10-04 09:36:24 +09:00
parent b5a7b747a2
commit 5c17eaa402

View file

@ -393,7 +393,7 @@ module Capybara
if threadsafe
Thread.current['capybara_specified_session']
else
@specified_session
@specified_session ||= nil
end
end