diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-31 03:10:56 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-31 03:10:56 +0300 |
commit | c6b5500fab8e068b0c9f611f2a8ec67a10520b74 (patch) | |
tree | 9c80e73a31fa9a50850d30109e7df10c3612cddd /spec/models | |
parent | ad7c2ae366fcdb08b2cab1d726120e25f9b225bf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/project_ci_cd_setting_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/models/project_ci_cd_setting_spec.rb b/spec/models/project_ci_cd_setting_spec.rb index 406485d8cc8..c206ba27ec1 100644 --- a/spec/models/project_ci_cd_setting_spec.rb +++ b/spec/models/project_ci_cd_setting_spec.rb @@ -21,6 +21,12 @@ RSpec.describe ProjectCiCdSetting do end end + describe '#job_token_scope_enabled' do + it 'is true by default' do + expect(described_class.new.job_token_scope_enabled).to be_truthy + end + end + describe '#default_git_depth' do let(:default_value) { described_class::DEFAULT_GIT_DEPTH } |