diff options
Diffstat (limited to 'spec/requests/api/internal/base_spec.rb')
-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 |