Commit d8bafa92 authored by Giorgenes Gelatti's avatar Giorgenes Gelatti

Expect job to be set in job token auth

parent 691084c0
...@@ -32,6 +32,7 @@ describe Gitlab::Auth::UserAuthFinders do ...@@ -32,6 +32,7 @@ describe Gitlab::Auth::UserAuthFinders do
set_token(job.token) set_token(job.token)
expect(subject).to eq(user) expect(subject).to eq(user)
expect(@current_authenticated_job).to eq job
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment