diff options
| author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-09-29 13:06:38 -0500 |
|---|---|---|
| committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-09-29 13:06:38 -0500 |
| commit | 06d41721e6d229a87459ad9578534b4a5caefeda (patch) | |
| tree | 889bdde93df30285369105b2d4bf019a37258b9d | |
| parent | 5072ecc67b8f20cfa9f212883674c732d3ea8dd6 (diff) | |
| download | gitlab-ce-06d41721e6d229a87459ad9578534b4a5caefeda.tar.gz | |
modified clear_browser_session method to use the manage method for deleting cookies
| -rw-r--r-- | spec/support/capybara_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/capybara_helpers.rb b/spec/support/capybara_helpers.rb index 0106b4e656a..868233416bf 100644 --- a/spec/support/capybara_helpers.rb +++ b/spec/support/capybara_helpers.rb @@ -38,7 +38,7 @@ module CapybaraHelpers # Simulate a browser restart by clearing the session cookie. def clear_browser_session - page.driver.delete_cookie('_gitlab_session') + page.driver.browser.manage.delete_cookie('_gitlab_session') end end |
