Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor <idrozdov@gitlab.com>2019-09-03 09:19:21 +0300
committerLin Jen-Shin <godfat@godfat.org>2019-09-03 09:19:21 +0300
commit8dcddb9886a679baf2d37cc907374ccaf58d1a85 (patch)
treecdf61512d9ac31ef43f417a45a257bdd36f10fa0 /spec/support
parentab27d66a7f70caa8eb9b676d76a108124321b101 (diff)
Stub DetectRepositoryLanguagesWorker for all tests
It performs an expensive operation, but isn't required in most of tests
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/helpers/project_forks_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers/project_forks_helper.rb b/spec/support/helpers/project_forks_helper.rb
index b2d22853e4c..90d0d1845fc 100644
--- a/spec/support/helpers/project_forks_helper.rb
+++ b/spec/support/helpers/project_forks_helper.rb
@@ -45,7 +45,7 @@ module ProjectForksHelper
# not reset the @exists variable of this forked_project.repository
# so we have to explicitly call this method to clear the @exists variable.
# of the instance we're returning here.
- forked_project.repository.after_import
+ forked_project.repository.expire_content_cache
end
forked_project