diff options
author | Fabio Pitino <fpitino@gitlab.com> | 2019-06-07 14:51:42 +0300 |
---|---|---|
committer | Fabio Pitino <fpitino@gitlab.com> | 2019-06-12 11:51:45 +0300 |
commit | 3ac527b4889b9465b2d55ca0c9317a3e8479a625 (patch) | |
tree | 2cf311b5a19d9c1d4a2f25922fa55ec2a29351ab /spec/controllers | |
parent | 641d332351907b77b53b0cb23ff51ccea2489824 (diff) |
Expose ci_default_git_depth via project API
Enable Get and Update of ci_default_git_depth for
Project API.
Renaming Project#default_git_depth to :ci_default_git_depth
to give more context through the API usage.
Add API documentation
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/projects/settings/ci_cd_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects/settings/ci_cd_controller_spec.rb b/spec/controllers/projects/settings/ci_cd_controller_spec.rb index 117b9cf7915..5bfbcf6eeb5 100644 --- a/spec/controllers/projects/settings/ci_cd_controller_spec.rb +++ b/spec/controllers/projects/settings/ci_cd_controller_spec.rb @@ -212,7 +212,7 @@ describe Projects::Settings::CiCdController do subject project.reload - expect(project.default_git_depth).to eq(10) + expect(project.ci_default_git_depth).to eq(10) end end end |