diff --git a/spec/jwt/kms_spec.rb b/spec/jwt/kms_spec.rb index f3cb059..3b8b81c 100644 --- a/spec/jwt/kms_spec.rb +++ b/spec/jwt/kms_spec.rb @@ -6,7 +6,7 @@ end let(:algo_instance) do - described_class.by(key_id: key_id) + described_class::Key.by(key_id: key_id) end let(:payload) { { "pay" => "load" } }