diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-27 15:08:51 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-27 15:08:51 +0000 |
commit | 1ea1db491c8bc90789acda45c9002aaa5c4dc498 (patch) | |
tree | 46d974fed38f2ea63e69bad9d43760c62611c958 /spec/requests/api/internal | |
parent | 22e9af3c8b8aedf7f46b786be968862b74a2d07e (diff) | |
download | gitlab-ce-1ea1db491c8bc90789acda45c9002aaa5c4dc498.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests/api/internal')
-rw-r--r-- | spec/requests/api/internal/base_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/requests/api/internal/base_spec.rb b/spec/requests/api/internal/base_spec.rb index 6f784830f9d..29112fe5853 100644 --- a/spec/requests/api/internal/base_spec.rb +++ b/spec/requests/api/internal/base_spec.rb @@ -268,7 +268,7 @@ describe API::Internal::Base do end context 'with env passed as a JSON' do - let(:gl_repository) { Gitlab::GlRepository::WIKI.identifier_for_repositorable(project) } + let(:gl_repository) { Gitlab::GlRepository::WIKI.identifier_for_container(project) } it 'sets env in RequestStore' do obj_dir_relative = './objects' @@ -1054,9 +1054,9 @@ describe API::Internal::Base do def gl_repository_for(project_or_wiki) case project_or_wiki when ProjectWiki - Gitlab::GlRepository::WIKI.identifier_for_repositorable(project_or_wiki.project) + Gitlab::GlRepository::WIKI.identifier_for_container(project_or_wiki.project) when Project - Gitlab::GlRepository::PROJECT.identifier_for_repositorable(project_or_wiki) + Gitlab::GlRepository::PROJECT.identifier_for_container(project_or_wiki) else nil end |