Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-07-26 22:59:56 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-26 22:59:56 +0300
commit34a401c88dd94954363884f1325b92659159bdd7 (patch)
tree4bd9c57a6f7f527895f15d2877816453aa75c82c /spec/lib
parent5b4b2ed55320932ddaecbb7ce7f957235a1c73cf (diff)
Add latest changes from gitlab-org/gitlab@16-2-stable-ee
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/json_web_token/hmac_token_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/json_web_token/hmac_token_spec.rb b/spec/lib/json_web_token/hmac_token_spec.rb
index 7c486b2fe1b..877184a4a3d 100644
--- a/spec/lib/json_web_token/hmac_token_spec.rb
+++ b/spec/lib/json_web_token/hmac_token_spec.rb
@@ -25,7 +25,7 @@ RSpec.describe JSONWebToken::HMACToken do
end
describe '.decode' do
- let(:leeway) { described_class::IAT_LEEWAY }
+ let(:leeway) { described_class::LEEWAY }
let(:decoded_token) { described_class.decode(encoded_token, secret, leeway: leeway) }
context 'with an invalid token' do