Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-15 18:13:49 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-15 18:13:49 +0300
commit229395d3af51cd46a9179f2eba142c027d08b208 (patch)
tree56efbeeb1bb9bf8e6f68174436cacd5c2d20fca4 /spec/config
parent3107fe7203685580829c7d6ca56161e13acb83eb (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/config')
-rw-r--r--spec/config/settings_spec.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/config/settings_spec.rb b/spec/config/settings_spec.rb
index 46fd524adbb..9b721d8cfca 100644
--- a/spec/config/settings_spec.rb
+++ b/spec/config/settings_spec.rb
@@ -164,4 +164,16 @@ RSpec.describe Settings do
end
end
end
+
+ describe '.microsoft_graph_mailer' do
+ it 'defaults' do
+ expect(described_class.microsoft_graph_mailer.enabled).to be false
+ expect(described_class.microsoft_graph_mailer.user_id).to be_nil
+ expect(described_class.microsoft_graph_mailer.tenant).to be_nil
+ expect(described_class.microsoft_graph_mailer.client_id).to be_nil
+ expect(described_class.microsoft_graph_mailer.client_secret).to be_nil
+ expect(described_class.microsoft_graph_mailer.azure_ad_endpoint).to eq('https://login.microsoftonline.com')
+ expect(described_class.microsoft_graph_mailer.graph_endpoint).to eq('https://graph.microsoft.com')
+ end
+ end
end