"threadsafe" mode is not beta anymore

This commit is contained in:
Thomas Walpole 2018-03-31 14:43:58 -07:00
parent 0154e53760
commit 3d3f238458
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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