Sha256: 3194bfe5dbd092adafac382420837d8707718a09094e7c1bb4afb452e2b43690
Contents?: true
Size: 1.84 KB
Versions: 1
Compression:
Stored size: 1.84 KB
Contents
=begin #Ory Identities API #This is the API specification for Ory Identities with features such as registration, login, recovery, account verification, profile settings, password reset, identity management, session management, email and sms delivery, and more. The version of the OpenAPI document: v0.11.0 Contact: office@ory.sh Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.0.1 =end require 'spec_helper' require 'json' require 'date' # Unit tests for OryKratosClient::SessionAuthenticationMethod # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe OryKratosClient::SessionAuthenticationMethod do let(:instance) { OryKratosClient::SessionAuthenticationMethod.new } describe 'test an instance of SessionAuthenticationMethod' do it 'should create an instance of SessionAuthenticationMethod' do expect(instance).to be_instance_of(OryKratosClient::SessionAuthenticationMethod) end end describe 'test attribute "aal"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "completed_at"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "method"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["link_recovery", "code_recovery", "password", "totp", "oidc", "webauthn", "lookup_secret", "v0.6_legacy_session"]) # validator.allowable_values.each do |value| # expect { instance.method = value }.not_to raise_error # end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ory-kratos-client-0.11.0 | spec/models/session_authentication_method_spec.rb |