Commit 3589ad53 authored by Avielle Wolfe's avatar Avielle Wolfe

Re-add spec for `job_token_scope_enabled` default

This spec was removed previously because it failed on CI when we were
updating the `job_token_scope_enabled` field default from false to true.
It can now be safely re-added with the new default.
parent 94468c74
...@@ -21,6 +21,12 @@ RSpec.describe ProjectCiCdSetting do ...@@ -21,6 +21,12 @@ RSpec.describe ProjectCiCdSetting do
end end
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 describe '#default_git_depth' do
let(:default_value) { described_class::DEFAULT_GIT_DEPTH } let(:default_value) { described_class::DEFAULT_GIT_DEPTH }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment