diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2017-06-30 16:36:36 +0000 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2017-07-06 06:30:07 +0000 |
commit | 8fa08ea3cd81e906c4f4951c70e3571defeab7c7 (patch) | |
tree | 9f74b9cb3479e5b69db86f6ddd3ba32d30c2e7a2 /spec/support/capybara_helpers.rb | |
parent | 56754848dddb5460500ab056e5ac1b9a61c7ff89 (diff) | |
download | gitlab-ce-8fa08ea3cd81e906c4f4951c70e3571defeab7c7.tar.gz |
Implement review comments for !11963 from @adamniedzielski.
- Change double quotes to single quotes.
- Why is `OmniAuth.config.full_host` being reassigned in the integration test?
- Use `map` over `map!` to avoid `dup` in the `gitlab:info` rake task
- Other minor changes
Diffstat (limited to 'spec/support/capybara_helpers.rb')
-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 1037e9def8c..3eb7bea3227 100644 --- a/spec/support/capybara_helpers.rb +++ b/spec/support/capybara_helpers.rb @@ -37,7 +37,7 @@ module CapybaraHelpers end # Simulate a browser restart by clearing the session cookie. - def restart_browser + def clear_browser_session page.driver.remove_cookie('_gitlab_session') end end |