X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5126d94fd644a657243e5ec80d5ef1fc250f8b76..49b58cc43218106f1633c389598894d59447a26b:/apps/workbench/test/integration_helper.rb diff --git a/apps/workbench/test/integration_helper.rb b/apps/workbench/test/integration_helper.rb index 81ea67c3c5..febcfcfec0 100644 --- a/apps/workbench/test/integration_helper.rb +++ b/apps/workbench/test/integration_helper.rb @@ -25,11 +25,6 @@ class ActionDispatch::IntegrationTest @@API_AUTHS = self.api_fixture('api_client_authorizations') - def setup - reset_session! - super - end - def page_with_token(token, path='/') # Generate a page path with an embedded API token. # Typical usage: visit page_with_token('token_name', page) @@ -74,5 +69,6 @@ class ActionDispatch::IntegrationTest if Capybara.current_driver == :selenium page.execute_script("window.localStorage.clear()") end + Capybara.reset_sessions! end end