Sha256: 1e0de9ccd66d227eb33470ef063705be25da64a1a837e61d96913b9611cf1ddf

Contents?: true

Size: 1.3 KB

Versions: 4

Compression:

Stored size: 1.3 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.16
Contact: support@ory.sh
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.1.1

=end

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

# Unit tests for OryHydraClient::SubmitSelfServiceLoginFlowBody
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe OryHydraClient::SubmitSelfServiceLoginFlowBody do
  describe '.openapi_one_of' do
    it 'lists the items referenced in the oneOf array' do
      expect(described_class.openapi_one_of).to_not be_empty
    end
  end

  describe '.openapi_discriminator_name' do
    it 'returns the value of the "discriminator" property' do
      expect(described_class.openapi_discriminator_name).to_not be_empty
    end
  end

  describe '.openapi_discriminator_mapping' do
    it 'returns the key/values of the "mapping" property' do
      expect(described_class.openapi_discriminator_mapping.values.sort).to eq(described_class.openapi_one_of.sort)
    end
  end

  describe '.build' do
    it 'returns the correct model' do
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ory-client-0.0.1.alpha19 spec/models/submit_self_service_login_flow_body_spec.rb
ory-client-0.0.1.alpha18 spec/models/submit_self_service_login_flow_body_spec.rb
ory-client-0.0.1.alpha17 spec/models/submit_self_service_login_flow_body_spec.rb
ory-client-0.0.1.alpha16 spec/models/submit_self_service_login_flow_body_spec.rb