Sha256: 5f25c6f3bf82390254a4c3cddc94c32a69e539cf0157429fbec313ca8c142f1b

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 KB

Contents

=begin
#Ory APIs

#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. 

The version of the OpenAPI document: v0.0.1-alpha.148
Contact: support@ory.sh
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.4.0

=end

require 'spec_helper'
require 'json'
require 'date'

# Unit tests for OryClient::SessionAuthenticationMethod
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe OryClient::SessionAuthenticationMethod do
  let(:instance) { OryClient::SessionAuthenticationMethod.new }

  describe 'test an instance of SessionAuthenticationMethod' do
    it 'should create an instance of SessionAuthenticationMethod' do
      expect(instance).to be_instance_of(OryClient::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", "password", "totp", "oidc", "webauthn", "lookup_secret"])
      # 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-client-0.0.1.alpha148 spec/models/session_authentication_method_spec.rb