summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-03 22:28:55 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-03 22:29:18 +0000
commitfa206403d6b6a501488b70173ba873189776edc6 (patch)
tree747df0d0c32d9f0624b5a9c84dfbfc09265adc49 /spec/controllers
parent5fc81825b645b13c3ecd49ec727bdf2162d15922 (diff)
downloadgitlab-ce-fa206403d6b6a501488b70173ba873189776edc6.tar.gz
Add latest changes from gitlab-org/security/gitlab@13-9-stable-ee
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/profiles/active_sessions_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/profiles/active_sessions_controller_spec.rb b/spec/controllers/profiles/active_sessions_controller_spec.rb
index f54f69d853d..12cf4f982e9 100644
--- a/spec/controllers/profiles/active_sessions_controller_spec.rb
+++ b/spec/controllers/profiles/active_sessions_controller_spec.rb
@@ -12,7 +12,7 @@ RSpec.describe Profiles::ActiveSessionsController do
it 'invalidates all remember user tokens' do
ActiveSession.set(user, request)
- session_id = request.session.id.public_id
+ session_id = request.session.id.private_id
user.remember_me!
delete :destroy, params: { id: session_id }