diff options
author | Stan Hu <stanhu@gmail.com> | 2017-08-02 22:25:57 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-08-02 22:25:57 -0700 |
commit | ded77e21b38dbb65aec2aeae42de02e6571fe01a (patch) | |
tree | 5d13c82ca2c7ce871975cdab057c5e7d59705baf /spec/support | |
parent | fa68b81b8ead3c68a278729bfbcb621a9c6197e3 (diff) | |
download | gitlab-ce-ded77e21b38dbb65aec2aeae42de02e6571fe01a.tar.gz |
Rename remove_cookie -> delete_cookie in Capybara helper for Selenium driver
Diffstat (limited to 'spec/support')
-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 3eb7bea3227..0106b4e656a 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.remove_cookie('_gitlab_session') + page.driver.delete_cookie('_gitlab_session') end end |