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
path: root/spec
diff options
context:
space:
mode:
authorPaco Guzman <pacoguzmanp@gmail.com>2016-06-20 16:38:54 +0300
committerPaco Guzman <pacoguzmanp@gmail.com>2016-06-20 22:44:21 +0300
commit208b18c956b38103b98bc93a952dc1e8a200dead (patch)
tree518e0892089d6d3771097192be2487c446343bfa /spec
parent74f8f260982a9b9e1941ad803d53d229cc27c85f (diff)
Unify check branch name exist
Diffstat (limited to 'spec')
-rw-r--r--spec/workers/merge_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/merge_worker_spec.rb b/spec/workers/merge_worker_spec.rb
index 1abd87d7d33..b5e1fdb8ded 100644
--- a/spec/workers/merge_worker_spec.rb
+++ b/spec/workers/merge_worker_spec.rb
@@ -9,7 +9,7 @@ describe MergeWorker do
before do
source_project.team << [author, :master]
- source_project.repository.expire_branch_names
+ source_project.repository.expire_branches_cache
end
it 'clears cache of source repo after removing source branch' do