Sha256: 6902f846b153948141ad04576a10442ab00d221e98d3dfbd42294be058dcb5b4
Contents?: true
Size: 368 Bytes
Versions: 3
Compression:
Stored size: 368 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :decoded_token, class: "KeycloakRack::DecodedToken" do data { {} } expires_at { 3.hours.from_now } issued_at { Time.current } leeway { 10 } initialize_with do TokenHelper.new.build_decoded_token(**attributes) end to_create do |instance| instance end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
keycloak_rack-1.1.1 | spec/factories/decoded_token.rb |
keycloak_rack-1.1.0 | spec/factories/decoded_token.rb |
keycloak_rack-1.0.0 | spec/factories/decoded_token.rb |