diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-07-05 20:11:01 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-07-05 20:11:01 +0800 |
commit | 9f5ac179d1ca4819006c66ae385ba7153f6c7e4f (patch) | |
tree | 8dafab8a2f87092dd57c26fbbb70b131d98d9078 /spec/requests/api | |
parent | 9f7e5e45df9b7d99b97e40d1c08250925a408875 (diff) | |
download | gitlab-ce-9f5ac179d1ca4819006c66ae385ba7153f6c7e4f.tar.gz |
Rename ci_config_file to ci_config_path
Diffstat (limited to 'spec/requests/api')
-rw-r--r-- | spec/requests/api/projects_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/projects_spec.rb b/spec/requests/api/projects_spec.rb index d19ce2d9887..8ac65ecccab 100644 --- a/spec/requests/api/projects_spec.rb +++ b/spec/requests/api/projects_spec.rb @@ -348,7 +348,7 @@ describe API::Projects do only_allow_merge_if_pipeline_succeeds: false, request_access_enabled: true, only_allow_merge_if_all_discussions_are_resolved: false, - ci_config_file: 'a/custom/path' + ci_config_path: 'a/custom/path' }) post api('/projects', user), project @@ -654,7 +654,7 @@ describe API::Projects do expect(json_response['star_count']).to be_present expect(json_response['forks_count']).to be_present expect(json_response['public_jobs']).to be_present - expect(json_response['ci_config_file']).to be_nil + expect(json_response['ci_config_path']).to be_nil expect(json_response['shared_with_groups']).to be_an Array expect(json_response['shared_with_groups'].length).to eq(1) expect(json_response['shared_with_groups'][0]['group_id']).to eq(group.id) |