diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-20 12:09:02 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-20 12:09:02 +0000 |
commit | 98252e0dd60cbcb316231085e206d9872f243b8a (patch) | |
tree | 304021f4190aabcc74f1359866c0efff84995729 /spec/requests/api/internal | |
parent | 2ee5991b42717969af93cb30d863aafab04dff8a (diff) | |
download | gitlab-ce-98252e0dd60cbcb316231085e206d9872f243b8a.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 12e6e7c7a09..01a5930f8fb 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_subject(project) } + let(:gl_repository) { Gitlab::GlRepository::WIKI.identifier_for_repositorable(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_subject(project_or_wiki.project) + Gitlab::GlRepository::WIKI.identifier_for_repositorable(project_or_wiki.project) when Project - Gitlab::GlRepository::PROJECT.identifier_for_subject(project_or_wiki) + Gitlab::GlRepository::PROJECT.identifier_for_repositorable(project_or_wiki) else nil end |