summaryrefslogtreecommitdiff
path: root/spec/requests/jwt_controller_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-05-15 18:07:52 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-05-15 18:07:52 +0000
commit31a340adabe75f8b02cca462ab8aa857ff62f772 (patch)
tree5540138a26430ec1ad33e0b76ff44f031729d945 /spec/requests/jwt_controller_spec.rb
parent8bd8f7d169c6ab97cdd6b0bb74e898258a6ba1f1 (diff)
downloadgitlab-ce-31a340adabe75f8b02cca462ab8aa857ff62f772.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests/jwt_controller_spec.rb')
-rw-r--r--spec/requests/jwt_controller_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/requests/jwt_controller_spec.rb b/spec/requests/jwt_controller_spec.rb
index 5637a56b2a4..d860179f0a7 100644
--- a/spec/requests/jwt_controller_spec.rb
+++ b/spec/requests/jwt_controller_spec.rb
@@ -23,6 +23,7 @@ describe JwtController do
it 'logs username and ID' do
expect(log_data['username']).to eq(user.username)
expect(log_data['user_id']).to eq(user.id)
+ expect(log_data['meta.user']).to eq(user.username)
end
end