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>2023-09-19 00:11:32 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-09-19 00:11:32 +0300
commit3c5025227f284c91f95bea8dc095efc880b67812 (patch)
tree0f818102a76884e468c143ecf0511222e71ab655 /spec/services/users/authorized_build_service_spec.rb
parent5ae452ecba9b141102e7f51012b613455abc2f79 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/users/authorized_build_service_spec.rb')
-rw-r--r--spec/services/users/authorized_build_service_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/services/users/authorized_build_service_spec.rb b/spec/services/users/authorized_build_service_spec.rb
index 7eed6833cba..a96854f33d9 100644
--- a/spec/services/users/authorized_build_service_spec.rb
+++ b/spec/services/users/authorized_build_service_spec.rb
@@ -12,5 +12,13 @@ RSpec.describe Users::AuthorizedBuildService, feature_category: :user_management
it_behaves_like 'common user build items'
it_behaves_like 'current user not admin build items'
+
+ context 'for additional authorized build allowed params' do
+ before do
+ params.merge!(external: true)
+ end
+
+ it { expect(user).to be_external }
+ end
end
end