# 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