"threadsafe" mode is not beta anymore
This commit is contained in:
parent
0154e53760
commit
3d3f238458
|
@ -1047,7 +1047,7 @@ additional info about how the underlying driver can be configured.
|
|||
are testing for specific server errors and using multiple sessions make sure to test for the
|
||||
errors using the initial session (usually :default)
|
||||
|
||||
## <a name="threadsafe"></a>"Threadsafe" mode - BETA - may change
|
||||
## <a name="threadsafe"></a>"Threadsafe" mode
|
||||
|
||||
In normal mode most of Capybara's configuration options are global settings which can cause issues
|
||||
if using multiple sessions and wanting to change a setting for only one of the sessions. To provide
|
||||
|
|
|
@ -25,7 +25,6 @@ module Capybara
|
|||
attr_writer :reuse_server
|
||||
|
||||
def threadsafe=(bool)
|
||||
warn "Capybara.threadsafe == true is a BETA feature and may change in future minor versions" if bool
|
||||
raise "Threadsafe setting cannot be changed once a session is created" if (bool != threadsafe) && Session.instance_created?
|
||||
@threadsafe = bool
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue