From 594ca1f526b4ffe4500e61c272d4e6e2272af125 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 28 Aug 2025 16:38:13 +0530 Subject: [PATCH] chore: remove attribute map spec --- .../api/v1/accounts/saml_settings_controller_spec.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/spec/enterprise/controllers/api/v1/accounts/saml_settings_controller_spec.rb b/spec/enterprise/controllers/api/v1/accounts/saml_settings_controller_spec.rb index 44bf932ed..39e756086 100644 --- a/spec/enterprise/controllers/api/v1/accounts/saml_settings_controller_spec.rb +++ b/spec/enterprise/controllers/api/v1/accounts/saml_settings_controller_spec.rb @@ -45,11 +45,6 @@ RSpec.describe 'Api::V1::Accounts::SamlSettings', type: :request do expect(response).to have_http_status(:success) expect(json_response[:sso_url]).to eq('https://idp.example.com/saml/sso') expect(json_response[:role_mappings]).to eq({ Admins: { role: 1 } }) - expect(json_response[:attribute_mappings]).to eq({ - email: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress', - first_name: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname', - last_name: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname' - }) end end @@ -60,11 +55,6 @@ RSpec.describe 'Api::V1::Accounts::SamlSettings', type: :request do as: :json expect(response).to have_http_status(:success) - expect(json_response[:attribute_mappings]).to eq({ - email: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress', - first_name: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname', - last_name: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname' - }) expect(json_response[:role_mappings]).to eq({}) end end