Sha256: 14f31b6f999093e7fbc2e387de517a4282e8335d6268d4a2da9722fe47a27f14

Contents?: true

Size: 460 Bytes

Versions: 9

Compression:

Stored size: 460 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Osso::Models::AzureSamlProvider do
  subject { create(:azure_saml_provider) }

  describe '#saml_options' do
    it 'returns the required args' do
      expect(subject.saml_options).
        to match(
          domain: subject.domain,
          idp_cert: subject.idp_cert,
          idp_sso_target_url: subject.idp_sso_target_url,
          issuer: "id:#{subject.id}",
        )
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
osso-0.0.3.5 spec/models/azure_saml_provider_spec.rb
osso-0.0.3.4 spec/models/azure_saml_provider_spec.rb
osso-0.0.3.3 spec/models/azure_saml_provider_spec.rb
osso-0.0.3.2 spec/models/azure_saml_provider_spec.rb
osso-0.0.3.1 spec/models/azure_saml_provider_spec.rb
osso-0.0.3 spec/models/azure_saml_provider_spec.rb
osso-0.0.2.10 spec/models/azure_saml_provider_spec.rb
osso-0.0.2.9 spec/models/azure_saml_provider_spec.rb
osso-0.0.2.8 spec/models/azure_saml_provider_spec.rb