diff options
author | Stan Hu <stanhu@gmail.com> | 2018-04-15 01:36:36 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-04-15 01:36:36 +0300 |
commit | 74e5ec198cbafe5d83690fae970ff73e5ef4cfcb (patch) | |
tree | 7f1897390cbdbb9d276311c28b36dbe04f0862a2 /app/models/repository.rb | |
parent | b1f15dfa42fb7b8f74a439806f004eaa5ed598a8 (diff) |
Fix failing ./spec/lib/backup/repository_spec.rb by clearing the memoized value
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index fd1afafe4df..5bdaa7f0720 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -331,6 +331,7 @@ class Repository return unless empty? expire_method_caches(%i(has_visible_content?)) + raw_repository.expire_has_local_branches_cache end def lookup_cache |