From b54df64566eb519b2e7d141ab72b5a0318873a19 Mon Sep 17 00:00:00 2001 From: Leon Berenschot Date: Thu, 23 Sep 2021 15:14:03 +0200 Subject: [PATCH] fix descriptions --- spec/helpers/jwt_conditions_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/helpers/jwt_conditions_spec.rb b/spec/helpers/jwt_conditions_spec.rb index bb6392e..5a08484 100644 --- a/spec/helpers/jwt_conditions_spec.rb +++ b/spec/helpers/jwt_conditions_spec.rb @@ -48,7 +48,7 @@ end end - context 'when exp is not a integer' do + context 'when iat is not a integer' do let(:jwt_iat) { Time.now } it 'raises an exception' do @@ -59,7 +59,7 @@ end end - context 'when jwt iss is different to user_identity' do + context 'when jwt sub is different to user_identity' do let(:jwt_sub) { '1234.5678.911' } it 'raises an exception' do @@ -69,7 +69,7 @@ end end - context 'when jwt_aud is different to apple_client_id' do + context 'when jwt aud is different to apple_client_id' do let(:jwt_aud) { 'net.apple_auth' } it 'raises an exception' do