Sha256: b8c5e06ee5e7448fd7655f041749dafd6c5e8e332f5c3528a3eff14f3d2ceb04

Contents?: true

Size: 426 Bytes

Versions: 8

Compression:

Stored size: 426 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Osso::Models::IdentityProvider do
  subject { create(:okta_identity_provider) }

  describe '#assertion_consumer_service_url' do
    it 'returns the expected URI' do
      ENV['BASE_URL'] = 'https://example.com'

      expect(subject.assertion_consumer_service_url).to eq(
        "https://example.com/auth/saml/#{subject.id}/callback",
      )
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
osso-0.0.3.14 spec/models/identity_provider_spec.rb
osso-0.0.3.13 spec/models/identity_provider_spec.rb
osso-0.0.3.12 spec/models/identity_provider_spec.rb
osso-0.0.3.11 spec/models/identity_provider_spec.rb
osso-0.0.3.9 spec/models/identity_provider_spec.rb
osso-0.0.3.8 spec/models/identity_provider_spec.rb
osso-0.0.3.7 spec/models/identity_provider_spec.rb
osso-0.0.3.6 spec/models/identity_provider_spec.rb